/* Adapted from Sorting's existing four stylesheets and WordPress frame. */

		@media (min-width:769px) and (orientation:landscape) {
			.sorting-game-frame {
				width:min(calc(82.5vh * 16 / 9), 100vw) !important;
				height:82.5vh !important;
				aspect-ratio:16 / 9 !important;
			}
		}

		@media (max-width:1200px) and (orientation:landscape) and (pointer:coarse),
			   (max-width:1200px) and (orientation:landscape) and (hover:none) {
			html,
			body {
				overflow-x:hidden;
			}

			.sorting-game-container {
				width:100vw;
				max-width:100vw;
				height:100dvh;
				margin-left:calc(50% - 50vw);
				margin-right:calc(50% - 50vw);
				display:flex;
				justify-content:center;
				align-items:flex-start;
			}

			.sorting-game-frame {
				display:block;
				width:100vw !important;
				max-width:none !important;
				height:100vh !important;
				height:100dvh !important;
				aspect-ratio:auto !important;
				border:0;
				margin:0 auto;
			}
		}

		@media (max-width:768px) and (orientation:portrait) {
			html,
			body {
				overflow-x:hidden;
			}

			#game-main {
				min-height:0;
			}

			.sorting-game-container {
				width:100vw;
				max-width:100vw;
				margin-top:0;
				margin-left:calc(50% - 50vw);
				margin-right:calc(50% - 50vw);
				display:flex;
				justify-content:center;
				align-items:flex-start;
			}

			.sorting-game-frame {
				display:block;
				width:calc(100vw - 4px) !important;
				height:calc(100vh - var(--sorting-portrait-header-height, 80px) - env(safe-area-inset-bottom)) !important;
				height:calc(100dvh - var(--sorting-portrait-header-height, 80px) - env(safe-area-inset-bottom)) !important;
				aspect-ratio:auto !important;
				border:0;
				margin:0 auto;
			}
		}

		html.sorting-layout-mobile-landscape,
		html.sorting-layout-mobile-landscape body {
			width:100% !important;
			height:100% !important;
			overflow:hidden !important;
			overscroll-behavior:none;
		}

		html.sorting-layout-mobile-landscape #game-main,
		html.sorting-layout-mobile-landscape .sorting-game-container {
			position:fixed !important;
			inset:0 !important;
			width:100vw !important;
			height:100dvh !important;
			max-width:none !important;
			margin:0 !important;
			padding:0 !important;
			overflow:hidden !important;
		}

		html.sorting-layout-mobile-landscape #game-main {
			z-index:1000000 !important;
		}

		html.sorting-layout-mobile-landscape .sorting-game-frame {
			position:absolute !important;
			inset:0 !important;
		}

		html.sorting-layout-mobile-landscape #gameCursel,
		html.sorting-layout-mobile-landscape #footer,
		html.sorting-layout-mobile-landscape #wpadminbar {
			display:none !important;
		}

		html.sorting-layout-mobile-landscape #header {
			height:0 !important;
			min-height:0 !important;
			overflow:visible !important;
			background:transparent !important;
		}

		html.sorting-layout-mobile-landscape #header .headerImage,
		html.sorting-layout-mobile-landscape #header .logo,
		html.sorting-layout-mobile-landscape #header #logo,
		html.sorting-layout-mobile-landscape #header #learning,
		html.sorting-layout-mobile-landscape #header #note {
			display:none !important;
		}

		html.sorting-layout-mobile-landscape #mainNav {
			display:block !important;
			position:fixed !important;
			top:0 !important;
			right:0 !important;
			left:auto !important;
			width:0 !important;
			height:0 !important;
			margin:0 !important;
			overflow:visible !important;
			z-index:1000001 !important;
		}

		html.sorting-layout-mobile-landscape #mainNav .site-menu {
			padding:0 !important;
			background:transparent !important;
		}

		html.sorting-layout-mobile-landscape #mobile-menu-btn {
			display:flex !important;
			align-items:center !important;
			justify-content:center !important;
			position:fixed !important;
			top:max(4px, env(safe-area-inset-top)) !important;
			right:max(4px, env(safe-area-inset-right)) !important;
			width:46px !important;
			height:46px !important;
			padding:0 !important;
			margin:0 !important;
			color:#fff !important;
			background:#1e90ff !important;
			border:2px solid #fff !important;
			border-radius:8px !important;
			box-shadow:0 5px 12px rgba(0, 0, 0, .35) !important;
			font-size:31px !important;
			line-height:1 !important;
			cursor:pointer !important;
			z-index:1000002 !important;
		}

		html.sorting-layout-mobile-landscape #primary-menu {
			display:none !important;
			position:fixed !important;
			top:calc(54px + env(safe-area-inset-top)) !important;
			right:max(8px, env(safe-area-inset-right)) !important;
			left:auto !important;
			width:250px !important;
			max-height:calc(100dvh - 64px - env(safe-area-inset-top)) !important;
			overflow-y:auto !important;
			margin:0 !important;
			padding:10px !important;
			list-style:none !important;
			flex-direction:column !important;
			background:#1e90ff !important;
			border:2px solid #fff !important;
			border-radius:8px !important;
			box-shadow:0 5px 12px rgba(0, 0, 0, .35) !important;
			z-index:1000001 !important;
		}

		html.sorting-layout-mobile-landscape #primary-menu.menu-open {
			display:flex !important;
		}

		html.sorting-layout-mobile-landscape #primary-menu .menu-item {
			display:block !important;
			width:100% !important;
			border-bottom:1px solid rgba(255, 255, 255, .2) !important;
		}

		html.sorting-layout-mobile-landscape #primary-menu .menu-item a {
			display:block !important;
			padding:8px 10px !important;
			color:#fff !important;
			font-size:16px !important;
			line-height:1.2 !important;
			text-decoration:none !important;
		}

		html.sorting-layout-mobile-landscape #primary-menu .sub-menu {
			display:none !important;
			position:static !important;
			margin:0 !important;
			padding:0 0 0 12px !important;
			background:transparent !important;
			box-shadow:none !important;
		}

		html.sorting-layout-mobile-landscape #primary-menu .menu-item-has-children.submenu-active > .sub-menu {
			display:block !important;
		}
	
#game-frame.ec-sorting-frame{container:ec-sorting / size;position:relative;isolation:isolate;overflow:clip;}
#ec-sorting{width:100%;height:100%;position:relative;direction:ltr;color:#000;font:16px/normal "Times New Roman",serif;text-align:initial;}
#ec-sorting *,#ec-sorting *::before,#ec-sorting *::after{box-sizing:content-box;}
#ec-sorting img{display:inline;max-width:none;vertical-align:baseline;border:0;border-radius:0;box-shadow:none;}
/* WordPress's global img height:auto overrides legacy HTML height attributes.
   Restore height-fitted desktop category images and bound every category image. */
#ec-sorting .groupImageContainer > img{max-width:100%;max-height:100%;object-fit:contain;}
#ec-sorting.sorting-desktop-page .groupImageContainer > img[height="100%"]{height:100%;width:auto;}
#ec-sorting table{border-collapse:separate;margin:0;}#ec-sorting td,#ec-sorting th{border:0;padding:0;}
#ec-sorting #fullScreenContainer{position:relative;width:100%;height:100%;}
#ec-sorting #UIContainer{
	position:relative;
	background-repeat:no-repeat;
	background-size:100%;
	background-color:#fcf9f7;
	font-family:"Arial Black", Gadget, sans-serif;
	vertical-align:middle;
	overflow:hidden;
	touch-action:none;
	user-select:none;
}
#ec-sorting,#ec-sorting,#ec-sorting #fullScreenContainer,#ec-sorting #game{
	overflow:hidden;
}
#ec-sorting #LoadingDiv{
	position:absolute;
	top:45%;
	left:50%;
	transform:translate(-50%, -50%);
	margin:0;
	font-size:clamp(22px, 4.5cqw, 36px) !important;
	font-weight:900 !important;
	color:#ffffff !important;
	letter-spacing:2px;
	text-shadow:0 3px 8px rgba(0, 0, 0, 0.4);
	background:rgba(32, 80, 93, 0.5);
	padding:10px 28px;
	border-radius:999px;
	border:2px solid rgba(255, 255, 255, 0.85);
	box-shadow:0 8px 24px rgba(0, 0, 0, 0.25);
	text-align:center;
	white-space:nowrap;
	z-index:1000;
}
#ec-sorting #topicMenuContainer{
	position:absolute;
	color:#92d7e7;
	left:14%;
	top:10%;
}
#ec-sorting #lessonsMenuContainer{
	position:absolute;
	color:#92d7e7;
	left:55%;
	top:13.5%;
}
#ec-sorting #menuCloud{
	position:relative;
	background-repeat:no-repeat;
	background-size:100%;
	cursor:pointer;
	color:#56a9b7;
}
#ec-sorting .menuPanel{
	position:relative;
	background-color:#baebf4;
	border-bottom-right-radius:0.5em;
	border-bottom-left-radius:0.5em;
	color:#fcf9f7;
	overflow:hidden;
}
#ec-sorting .menuText{
	padding-top:5%;
	color:#fcf9f7;
}
#ec-sorting .menuButton{
	background-size:100%;
	background-repeat:no-repeat;
	color:#9bdae8;
	cursor:pointer;
	margin-top:5%;
	border-radius:1.5em;
	background-color:#fcf9f7;
	box-shadow:0 2px 0 rgba(66, 33, 11, 0.12);
}
#ec-sorting .yellow{
	background-color:#f8efbb;
}
#ec-sorting .menuButton:hover{
	background-color:#c3e7ed;
	color:#fcf9f7;
}
#ec-sorting .menuButton div{
	height:100%;
	display:flex;
	align-items:center;
	justify-content:center;
	line-height:1.15;
	text-align:center;
	padding:0 8%;
	box-sizing:border-box;
	cursor:pointer;
}
#ec-sorting:not(.sorting-mobile-page) .menuButton div{
	font-size:1.35em;
	line-height:1.1;
	font-weight:700;
	padding:0 6%;
	overflow-wrap:anywhere;
	word-break:break-word;
}
#ec-sorting:not(.sorting-mobile-page) #gameOverButtonsContainer .menuButton div{
	font-size:1em;
	line-height:1.15;
	font-weight:400;
	padding:0 8%;
}
#ec-sorting:not(.sorting-mobile-page) #gameOverButtonsContainer .menuButton{
	
	height:clamp(56px, 5.75cqw, 90px) !important;
	display:flex;
	align-items:center;
	justify-content:center;
}
#ec-sorting:not(.sorting-mobile-page) #gameOverButtonsContainer .menuButton div{
	width:100%;
}
#ec-sorting.sorting-desktop-page[data-sorting-layout="desktop"] #gameOverButtonsContainer .menuButton div{
	font-size:clamp(20px, 2.8cqw, 24px) !important;
	line-height:1.05 !important;
	font-weight:800 !important;
}
#ec-sorting #scoreStrip{
	color:#42210b;
	background-color:#baebf4;
	width:100%;
	display: inline-flex;
}
#ec-sorting #boxesContainer{
	position:absolute;
	width:100%;
	z-index:10;
	padding-left:3%;
}
#ec-sorting #dragFrame{
	position:absolute;
	background-size:100% 100%;
	z-index:100;
	cursor:pointer;
	color:#fcf9f7;
}
#ec-sorting .ropeContainer{
	position:absolute;
	left:0px;
	right:0px;
	width:100%;
	height:100%;
	z-index:20;
}
#ec-sorting #ropeContainer{
	width:100%;
	height:100%;
}
#ec-sorting .boxSubcateg{
	position:absolute;
	background-color:#42210b;
	float:left;
	cursor:pointer;
	color:#fcf9f7;
}
#ec-sorting .boxSubcateg .whiteBox{
	width:86%;
	height:86%;
	margin-top:7%;
	margin-left:7%;
	background-color:#fcf9f7;
	color:#fcf9f7;
}
#ec-sorting .boxSubcateg .whiteBoxTop{
	width:100%;
	height:100%;
	background-color:#fcf9f7;
	color:#fcf9f7;
	border:solid 1px #42210b;
}
#ec-sorting .whiteBox table{
	background-color:#fcf9f7;
}
#ec-sorting .whiteBox td{
	background-color:#d8c480;
	color:#42210b;
}
#ec-sorting #scoreBar{
	position:absolute;
	width:100%;
	top:0px;
	left:0px;
	color:#fcf9f7;
	background-color:#baebf4;
}
#ec-sorting #scoreBox{
	color:#92d7e7;
	background-color:#fcf9f7;
	border-radius:0.5em;
}
#ec-sorting .bigMedal{
	position:absolute;
	background-repeat:no-repeat;
	background-size:100% 100%;
	top:-8%;
	left:74.5%;
	display:none;
}
#ec-sorting .groupImageContainer{
	
	width:86%;
	height:70%;
	margin-top:9%;
	margin-left:7%;
}
#ec-sorting .groupTextBottom{
	color:#fcf9f7;
	text-align:center;
}
#ec-sorting .basicGroupText{
	margin-top:3%;
}
#ec-sorting .groupCheck{
	position:absolute;
	color:#fcf9f7;
	padding-left:2%;
	background-repeat:no-repeat;
	background-position:left;
	background-size:contain;
}
#ec-sorting #gameOverContainer{
	position:absolute;
	top:0px;
	left:0px;
	background-color:rgba(0,0,0,0.3);
}
#ec-sorting #gameOverContainerDiv{
	position:absolute;
	margin-top:-0.1%;
	margin-left:12%;
	background-color:#92d7e7;
	width:70%;
}
#ec-sorting #gameOverCloud{
	margin-top:10%;
	margin-left:0%;
	color:#92d7e7;
	background-size:100% 100%;
}
#ec-sorting #gameOverCloud div{
	padding-top:17%;
	left:5%;
	background:none;
}
#ec-sorting #gameOverScore{
	color:#fcf9f7;
	background:none;
	top:55%;
	height:10%;
}
#ec-sorting #gameOverButtonsContainer{
	color:#fcf9f7;
	background:none;
	top:80%;
	height:5%;
}
#ec-sorting .scrollable{
  position: relative;
}
#ec-sorting .scrollable:focus{
  outline: 0;
}
#ec-sorting .scrollable .viewport{
  position: relative;
  overflow: hidden;
}
#ec-sorting .scrollable .viewport .overview{
  position: absolute;
}
#ec-sorting .scrollable .scroll-bar{
  display: none;
}
#ec-sorting .scrollable .scroll-bar.vertical{
  position: absolute;
  right: 0;
  height: 100%;
}
#ec-sorting .scrollable .scroll-bar.horizontal{
  position: relative;
  width: 100%;
}
#ec-sorting .scrollable .scroll-bar .thumb{
  position: absolute;
}
@container ec-sorting (max-width: 768px) and (orientation: portrait){#ec-sorting #topicMenuContainer{
		left:8%;
		top:12%;
	}
#ec-sorting #lessonsMenuContainer{
		left:47%;
		top:14%;
	}
#ec-sorting #dragFrame,#ec-sorting .boxSubcateg,#ec-sorting .menuButton{
		touch-action:none;
	}
}
#ec-sorting .scrollable .scroll-bar.vertical .thumb{
  width: 100%;
  min-height: 10px;
}
#ec-sorting .scrollable .scroll-bar.horizontal .thumb{
  height: 100%;
  min-width: 10px;
  left: 0;
}
#ec-sorting .not-selectable{
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
#ec-sorting .scrollable.default-skin{
  padding-right: 10px;
  padding-bottom: 6px;
}
#ec-sorting .scrollable.default-skin .scroll-bar.vertical{
  width: 6px;
}
#ec-sorting .scrollable.default-skin .scroll-bar.horizontal{
  height: 6px;
}
#ec-sorting .scrollable.default-skin .scroll-bar .thumb{
  background-color: black;
  opacity: 0.4;
  border-radius: 3px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}
#ec-sorting .scrollable.default-skin .scroll-bar:hover .thumb{
  opacity: 0.6;
}
#ec-sorting .scrollable.gray-skin{
  padding-right: 17px;
}
#ec-sorting .scrollable.gray-skin .scroll-bar{
  border: 1px solid gray;
  background-color: #d3d3d3;
}
#ec-sorting .scrollable.gray-skin .scroll-bar .thumb{
  background-color: gray;
}
#ec-sorting .scrollable.gray-skin .scroll-bar:hover .thumb{
  background-color: black;
}
#ec-sorting .scrollable.gray-skin .scroll-bar.vertical{
  width: 10px;
}
#ec-sorting .scrollable.gray-skin .scroll-bar.horizontal{
  height: 10px;
  margin-top: 2px;
}
#ec-sorting .scrollable.modern-skin{
  padding-right: 7%;
}
#ec-sorting .scrollable.modern-skin .scroll-bar{
  border: 1px solid gray;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-box-shadow: inset 0 0 5px #888;
  -webkit-box-shadow: inset 0 0 5px #888;
  box-shadow: inset 0 0 5px #888;
}
#ec-sorting .scrollable.modern-skin .scroll-bar .thumb{
  background-color: #95aabf;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border: 1px solid #536984;
}
#ec-sorting .scrollable.modern-skin .scroll-bar.vertical .thumb{
  width: 8px;
  background: -moz-linear-gradient(left, #95aabf 0%, #547092 100%);
  background: -webkit-gradient(linear, left top, right top, color-stop(0%, #95aabf), color-stop(100%, #547092));
  background: -webkit-linear-gradient(left, #95aabf 0%, #547092 100%);
  background: -o-linear-gradient(left, #95aabf 0%, #547092 100%);
  background: -ms-linear-gradient(left, #95aabf 0%, #547092 100%);
  background: linear-gradient(to right, #95aabf 0%, #547092 100%);
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient( startColorstr='#95aabf', endColorstr='#547092',GradientType=1 )";
}
#ec-sorting .scrollable.modern-skin .scroll-bar.horizontal .thumb{
  height: 8px;
  background-image: linear-gradient(#95aabf, #547092);
  background-image: -o-linear-gradient(#95aabf, #547092);
  background-image: -moz-linear-gradient(#95aabf, #547092);
  background-image: -webkit-linear-gradient(#95aabf, #547092);
  background-image: -ms-linear-gradient(#95aabf, #547092);
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient( startColorstr='#95aabf', endColorstr='#547092',GradientType=0 )";
}
#ec-sorting .scrollable.modern-skin .scroll-bar.vertical{
  width: 10px;
}
#ec-sorting .scrollable.modern-skin .scroll-bar.horizontal{
  height: 10px;
  margin-top: 2px;
}
#ec-sorting.sorting-mobile-page #UIContainer.sorting-portrait-game{
	height:100cqh !important;
	min-height:100cqh !important;
	padding-bottom:0;
}
#ec-sorting.sorting-mobile-page #boxesContainer,#ec-sorting.sorting-mobile-page .dropBoxesContainer{
	top:0;
	left:0;
	margin-top:0 !important;
	padding-left:0 !important;
}
#ec-sorting.sorting-mobile-page .mobileMenuList{
	padding:0 12px;
	box-sizing:border-box;
}
#ec-sorting.sorting-mobile-page .mobileMenuList .menuButton{
	width:calc(100% - 2px) !important;
	margin:0 auto 12px !important;
	min-height:46px;
	border-radius:24px;
	box-shadow:0 2px 0 rgba(66, 33, 11, 0.14);
}
#ec-sorting.sorting-mobile-page .mobileMenuList .menuButton div{
	padding:0 10px !important;
	line-height:1.02;
	font-size:14px !important;
	font-weight:700;
}
@container ec-sorting (max-width: 1200px){#ec-sorting,#ec-sorting.sorting-mobile-page,#ec-sorting.sorting-mobile-page #fullScreenContainer,#ec-sorting.sorting-mobile-page #game{
		overflow-x:hidden !important;
		overflow-y:auto !important;
	}
#ec-sorting.sorting-mobile-page #UIContainer{
		overflow-x:hidden !important;
		overflow-y:auto !important;
	}
}
#ec-sorting.sorting-mobile-page #gameOverContainer{
	display:flex;
	justify-content:center;
	align-items:flex-start;
	padding-top:6%;
	box-sizing:border-box;
}
#ec-sorting.sorting-mobile-page #gameOverContainer table{
	width:100%;
	
	height:auto !important;
	border-collapse:collapse;
}
#ec-sorting.sorting-mobile-page #gameOverContainer tr:first-child{
	height:64px;
}
#ec-sorting.sorting-mobile-page #gameOverContainer tr:nth-child(2) > td{
	vertical-align:top;
}
#ec-sorting.sorting-mobile-page #gameOverContainer tr:first-child img{
	opacity:0;
}
#ec-sorting.sorting-mobile-page #gameOverContainerDiv::before,#ec-sorting.sorting-mobile-page #gameOverContainerDiv::after{
	content:"";
	position:absolute;
	bottom:100%;
	width:2px;
	
	height:25cqw;
	background:#fcf9f7;
	transform-origin:bottom center;
	pointer-events:none;
}
#ec-sorting.sorting-mobile-page #gameOverContainerDiv::before{
	left:12%;
	transform:rotate(-2deg);
}
#ec-sorting.sorting-mobile-page #gameOverContainerDiv::after{
	right:12%;
	transform:rotate(2deg);
}
#ec-sorting.sorting-mobile-page #gameOverContainerDiv{
	position:relative;
	margin:0 auto !important;
	width:76% !important;
	height:auto !important;
	min-height:230px;
	padding:16px 16px 18px;
	border-width:10px !important;
	box-sizing:border-box;
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:flex-start;
}
#ec-sorting.sorting-mobile-page #gameOverCloud{
	margin-top:2%;
	margin-left:0;
	width:min(100%, 250px) !important;
	height:auto !important;
	aspect-ratio:353 / 115;
	background-position:center;
	display:flex;
	align-items:center;
	justify-content:center;
}
#ec-sorting.sorting-mobile-page #gameOverCloud div{
	padding-top:8px;
	position:static;
	width:100%;
	text-align:center;
	font-size:1.15em;
	line-height:1.05;
}
#ec-sorting.sorting-mobile-page #gameOverScore{
	position:static;
	top:auto;
	height:auto;
	margin-top:12px;
	font-size:1.05em !important;
	font-weight:700;
	text-align:center;
}
#ec-sorting.sorting-mobile-page #gameOverButtonsContainer{
	position:static;
	top:auto;
	height:auto;
	width:100%;
	margin-top:auto;
	padding-top:18px;
	display:flex;
	justify-content:space-between;
	align-items:flex-end;
	gap:12px;
}
#ec-sorting.sorting-mobile-page #gameOverButtonsContainer .menuButton{
	float:none !important;
	margin:0 !important;
	width:47% !important;
	height:68px !important;
	border-radius:999px;
	display:flex;
	align-items:center;
	justify-content:center;
	box-shadow:0 3px 0 rgba(66, 33, 11, 0.14);
}
#ec-sorting.sorting-mobile-page #gameOverButtonsContainer .menuButton div{
	padding:0 6px !important;
	font-size:1.25em;
	line-height:0.9;
	font-weight:700;
	white-space:normal;
	text-align:center;
	color:#486f81;
}
#ec-sorting.sorting-mobile-page #gameTopButtons{
		top:8px;
		right:18px;
	}
#ec-sorting.sorting-mobile-page .ropeContainer{
		z-index:250;
		pointer-events:none;
	}
#ec-sorting.sorting-mobile-page #dragFrame{
		z-index:300;
	}
#ec-sorting.sorting-mobile-page .boxSubcateg{
		overflow:visible;
	}
#ec-sorting.sorting-mobile-page .bigMedal{
		z-index:450;
		pointer-events:none;
	}
@container ec-sorting (max-width: 1200px){#ec-sorting.sorting-mobile-page #UIContainer{
		overflow:hidden;
		background-image:
			radial-gradient(circle at 20px calc(var(--sorting-blue-stop, 30%) - 2px), #fcf9f7 0 20px, transparent 21px),
			linear-gradient(to bottom, #92d7e7 0 var(--sorting-blue-stop, 30%), #fcf9f7 var(--sorting-blue-stop, 30%) 100%) !important;
		background-repeat:repeat-x, no-repeat !important;
		background-size:42px 100%, 100% 100% !important;
		background-position:0 0, 0 0 !important;
	}
#ec-sorting.sorting-mobile-page #UIContainer > .menuText{
		position:relative;
		z-index:30;
		padding-top:7%;
		font-size:clamp(18px, 5.3cqw, 24px) !important;
		line-height:1.15;
		white-space:normal;
		text-align:center;
	}
#ec-sorting.sorting-mobile-page #topicMenuContainer{
		left:6% !important;
		top:9% !important;
		width:39% !important;
		max-width:39% !important;
		box-sizing:border-box;
	}
#ec-sorting.sorting-mobile-page #lessonsMenuContainer{
		left:55% !important;
		top:9% !important;
		width:39% !important;
		max-width:39% !important;
		box-sizing:border-box;
	}
#ec-sorting.sorting-mobile-page #menuCloud{
		width:100% !important;
		height:70px !important;
		font-size:clamp(22px, 6.6cqw, 30px) !important;
		line-height:1 !important;
		background-size:100% 100%;
		box-sizing:border-box;
	}
#ec-sorting.sorting-mobile-page #menuCloud > div{
		padding-top:42px !important;
		padding-left:8px !important;
		padding-right:8px !important;
		line-height:1 !important;
		white-space:normal;
		overflow-wrap:anywhere;
		word-break:normal;
		box-sizing:border-box;
	}
#ec-sorting.sorting-mobile-page #topicMenuContainer #menuCloud > div{
		padding-right:12px !important;
	}
#ec-sorting.sorting-mobile-page #lessonsMenuContainer #menuCloud > div{
		padding-left:12px !important;
		white-space:nowrap;
	}
#ec-sorting.sorting-mobile-page #lessonsMenuContainer #menuCloud{
		font-size:clamp(18px, 5.4cqw, 22px) !important;
	}
#ec-sorting.sorting-mobile-page #topicPanel,#ec-sorting.sorting-mobile-page #lessonsPanel{
		width:100% !important;
		z-index:40;
	}
#ec-sorting.sorting-mobile-page .menuPanel{
		padding:6px 0 2px;
		position:relative;
		z-index:40;
	}
#ec-sorting.sorting-mobile-page .menuPanel > .menuText{
		color:#3e7381 !important;
		font-size:clamp(18px, 4.2cqw, 22px) !important;
		line-height:1.1;
		font-weight:800;
		padding:12px 8px 8px;
		text-align:center;
	}
#ec-sorting.sorting-mobile-page .mobileMenuList{
		max-height:none;
	}
#ec-sorting.sorting-mobile-page .menuButton{
		min-height:46px;
		border-radius:24px;
		box-shadow:0 2px 0 rgba(66, 33, 11, 0.14);
	}
#ec-sorting.sorting-mobile-page .menuButton div{
		font-size:18px !important;
		line-height:1.02;
		padding:0 10px !important;
		color:#3e7381;
		font-weight:700;
		word-break:break-word;
		overflow-wrap:anywhere;
		text-align:center;
	}
#ec-sorting.sorting-mobile-page .groupTextBottom{
		font-size:15px !important;
		line-height:1;
		padding:4px 6px 5px;
		min-height:38px;
		top:auto;
		bottom:0;
		transform:none;
		display:flex;
		align-items:center;
		justify-content:center;
		word-break:normal;
		overflow-wrap:break-word;
		background-color:#42210b;
		color:#fcf9f7;
		box-sizing:border-box;
		max-width:100%;
	}
#ec-sorting.sorting-mobile-page .basicGroupText{
		position:absolute;
		left:0;
		right:0;
		bottom:0;
		top:auto;
		transform:none;
		min-height:38px;
		margin-top:0;
	}
#ec-sorting.sorting-mobile-page .groupImageContainer{
		width:84%;
		height:calc(100% - 46px);
		margin:8px auto 0;
		background-color:#fcf9f7;
		display:flex;
		align-items:center;
		justify-content:center;
		overflow:hidden;
		box-sizing:border-box;
	}
#ec-sorting.sorting-mobile-page .groupImageContainer img{
		max-width:94%;
		max-height:94%;
		object-fit:contain;
	}
#ec-sorting.sorting-mobile-page .boxSubcateg .whiteBox{
		height:calc(100% - 54px);
		margin-top:8px;
		position:relative;
		z-index:2;
		overflow:hidden;
		display:flex;
		align-items:flex-end;
		justify-content:center;
		box-sizing:border-box;
		padding-bottom:7px;
	}
#ec-sorting.sorting-mobile-page .lessonGroupText{
		position:absolute;
		left:0;
		right:0;
		bottom:0;
		height:46px;
		margin-top:0 !important;
		padding:4px 6px 5px !important;
		background-color:#42210b;
		z-index:1;
		font-family:Arial, sans-serif;
		font-size:15px !important;
		line-height:1.08 !important;
		font-weight:600;
		color:#fcf9f7;
		display:flex;
		align-items:center;
		justify-content:center;
		text-align:center;
		box-sizing:border-box;
		overflow-wrap:break-word;
	}
#ec-sorting.sorting-mobile-page .whiteBoxTop{
		width:100% !important;
		height:100% !important;
		background:rgba(255, 255, 255, 0.96) !important;
		border:2px solid #42210b !important;
		border-radius:10px;
		box-shadow:0 3px 9px rgba(0, 0, 0, 0.16);
		box-sizing:border-box;
		padding:2px;
		display:block !important;
		overflow:hidden;
	}
#ec-sorting.sorting-mobile-page .whiteBoxTop table{
		width:100% !important;
		height:100% !important;
		margin:0 auto !important;
		border-collapse:separate !important;
		table-layout:fixed !important;
	}
#ec-sorting.sorting-mobile-page .placedThumbnailCell{
		width:50% !important;
		height:50% !important;
		padding:1px !important;
		border:0 !important;
		background:transparent !important;
		box-sizing:border-box;
		vertical-align:middle !important;
		text-align:center !important;
	}
#ec-sorting.sorting-mobile-page .placedImgWrap{
		display:inline-flex !important;
		align-items:center !important;
		justify-content:center !important;
		width:clamp(38px, 19cqw, 84px) !important;
		height:min(70px, var(--sorting-thumbnail-height, 30px)) !important;
		max-width:none !important;
		max-height:none !important;
		margin:0 auto !important;
		padding:0 !important;
		background:#ffffff !important;
		border-radius:5px !important;
		box-shadow:0 1px 3px rgba(0, 0, 0, 0.12) !important;
		box-sizing:border-box;
		line-height:0;
		overflow:hidden !important;
	}
#ec-sorting.sorting-mobile-page .placedImgWrap img{
		width:100% !important;
		height:100% !important;
		max-width:100% !important;
		max-height:100% !important;
		object-fit:contain !important;
		display:block !important;
		margin:0 auto !important;
	}
#ec-sorting.sorting-mobile-page .geometryLabelBar{
		height:38%;
		display:flex;
		align-items:flex-end;
		justify-content:center;
		padding:2px 0 4px;
		box-sizing:border-box;
	}
#ec-sorting.sorting-mobile-page .geometryGroupImage{
		height:52%;
		top:6%;
	}
#ec-sorting.sorting-mobile-page #scoreBar{
		min-height:40px;
		height:48px !important;
		background:linear-gradient(180deg, #8ddae6 0%, #65c8d7 100%);
		border-bottom:4px solid rgba(252, 249, 247, 0.95);
		box-shadow:0 4px 0 rgba(66, 33, 11, 0.12);
		box-sizing:border-box;
	}
#ec-sorting.sorting-mobile-page #scoreBar table{
		height:44px !important;
	}
#ec-sorting.sorting-mobile-page #scoreBar span{
		color:#fcf9f7;
		font-size:18px !important;
		line-height:1;
		text-shadow:0 2px 0 rgba(66, 33, 11, 0.16);
		white-space:nowrap;
	}
#ec-sorting.sorting-mobile-page #scoreBox{
		width:74px !important;
		min-width:74px;
		min-height:28px;
		display:flex;
		align-items:center;
		justify-content:center;
		font-size:24px !important;
		color:#42210b;
		background:#fcf9f7;
		border:3px solid #fcf9f7;
		border-radius:999px;
		box-shadow:0 3px 0 rgba(66, 33, 11, 0.16);
		font-weight:900;
		box-sizing:border-box;
	}
#ec-sorting.sorting-mobile-page #LoadingDiv{
		margin-top:28% !important;
		margin-left:0 !important;
		width:100%;
		color:#fcf9f7;
		font-size:clamp(30px, 9cqw, 44px) !important;
		line-height:1;
		font-weight:900;
		text-align:center;
		text-shadow:0 3px 0 rgba(66, 33, 11, 0.18);
	}
#ec-sorting.sorting-mobile-page #infoFrame{
		top:15% !important;
		left:50%;
		transform:translate(-50%, -50%);
		margin-top:0;
		width:min(420px, 90%);
		height:auto;
		min-height:200px;
		aspect-ratio:7 / 4;
	}
#ec-sorting.sorting-mobile-page #infoClose{
		top:14%;
		right:11%;
	}
#ec-sorting.sorting-mobile-page #infoText{
		top:30%;
		left:12%;
		right:12%;
		font-size:18px;
		line-height:1.35;
	}
#ec-sorting,#ec-sorting.sorting-mobile-page{
		overflow-x:hidden !important;
		overflow-y:auto !important;
		-webkit-overflow-scrolling:touch;
	}
#ec-sorting.sorting-mobile-page #fullScreenContainer,#ec-sorting.sorting-mobile-page #game{
		overflow-x:hidden !important;
		overflow-y:visible !important;
		height:auto !important;
		min-height:100% !important;
	}
#ec-sorting.sorting-mobile-page #UIContainer{
		overflow-x:hidden !important;
		overflow-y:visible !important;
		height:auto !important;
		padding-bottom:30px;
		touch-action: pan-y !important;
	}
#ec-sorting.sorting-mobile-page #UIContainer *:not(#dragFrame){
		touch-action: pan-y !important;
	}
#ec-sorting.sorting-mobile-page #dragFrame{
		touch-action: none !important;
	}
}
@container ec-sorting (orientation: landscape) and (max-width: 1200px){#ec-sorting.sorting-mobile-landscape,#ec-sorting.sorting-mobile-landscape #fullScreenContainer,#ec-sorting.sorting-mobile-landscape #game,#ec-sorting.sorting-mobile-landscape #UIContainer{
		overflow:hidden;
	}
#ec-sorting.sorting-mobile-landscape #UIContainer{
		background-size: 100% 88% !important;
		background-position: center top !important;
		background-repeat: no-repeat !important;
	}
#ec-sorting.sorting-mobile-landscape #dragFrame,#ec-sorting.sorting-mobile-landscape .boxSubcateg,#ec-sorting.sorting-mobile-landscape .menuButton{
		touch-action:none;
	}
#ec-sorting.sorting-mobile-landscape #boxesContainer,#ec-sorting.sorting-mobile-landscape .dropBoxesContainer{
		padding-left:0 !important;
		box-sizing:border-box;
	}
#ec-sorting.sorting-mobile-landscape .ropeContainer{
		pointer-events:none;
	}
#ec-sorting.sorting-mobile-landscape #UIContainer > .menuText{
		position:absolute;
		top:2px;
		left:0;
		right:0;
		z-index:60;
		height:26px;
		padding-top:0 !important;
		font-size:clamp(16px, 2.8cqw, 24px) !important;
		line-height:26px;
		font-weight:900;
		color:#ffffff !important;
		text-shadow:0 2px 4px rgba(0, 0, 0, 0.25);
		white-space:nowrap;
		text-align:center;
	}
#ec-sorting.sorting-mobile-landscape #topicMenuContainer{
		position:absolute !important;
		left:3% !important;
		right:auto !important;
		top:3px !important;
		width:37% !important;
		max-width:37% !important;
		box-sizing:border-box;
	}
#ec-sorting.sorting-mobile-landscape #lessonsMenuContainer{
		position:absolute !important;
		left:auto !important;
		right:3% !important;
		top:3px !important;
		width:37% !important;
		max-width:37% !important;
		box-sizing:border-box;
	}
#ec-sorting.sorting-mobile-landscape #menuCloud{
		width:100% !important;
		height:clamp(44px, 6.5cqw, 56px) !important;
		font-size:clamp(18px, 2.6cqw, 25px) !important;
		line-height:1 !important;
		background-size:100% 100% !important;
		box-sizing:border-box;
		filter:drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
	}
#ec-sorting.sorting-mobile-landscape #menuCloud > div{
		padding-top:clamp(18px, 2.8cqw, 26px) !important;
		padding-left:6px !important;
		padding-right:6px !important;
		line-height:1 !important;
		white-space:nowrap;
		font-weight:900 !important;
		color:#20505d !important;
		box-sizing:border-box;
	}
#ec-sorting.sorting-mobile-landscape .scrollMenu,#ec-sorting.sorting-mobile-landscape #lessonButtons{
		width:100% !important;
		height:auto !important;
		margin-top:clamp(2px, 0.6cqh, 5px) !important;
		box-sizing:border-box;
	}
#ec-sorting.sorting-mobile-landscape #topicPanel,#ec-sorting.sorting-mobile-landscape #lessonsPanel{
		display:block !important;
		width:100% !important;
		height:auto !important;
		margin-left:0 !important;
		padding-bottom:clamp(8px, 1.5cqh, 12px) !important;
		box-sizing:border-box;
	}
#ec-sorting.sorting-mobile-landscape .menuPanel{
		height:auto !important;
		min-height:auto !important;
		border-bottom-left-radius:18px !important;
		border-bottom-right-radius:18px !important;
		box-shadow:0 8px 24px rgba(0, 0, 0, 0.16) !important;
	}
#ec-sorting.sorting-mobile-landscape .menuPanel > .menuText{
		padding:clamp(3px, 0.6cqh, 5px) 6px !important;
		font-size:clamp(14px, 2cqw, 17px) !important;
		line-height:1.1;
		font-weight:800 !important;
		color:#20505d !important;
		box-sizing:border-box;
	}
#ec-sorting.sorting-mobile-landscape .menuPanel .menuButton{
		width:calc(100% - 10px) !important;
		height:clamp(34px, 8cqh, 40px) !important;
		min-height:34px !important;
		margin-top:0 !important;
		margin-left:auto !important;
		margin-right:auto !important;
		margin-bottom:clamp(3px, 1cqh, 5px) !important;
		border-radius:18px;
		display:flex !important;
		align-items:center !important;
		justify-content:center !important;
		box-shadow:0 3px 6px rgba(0, 0, 0, 0.1) !important;
		transition:transform 0.15s ease, box-shadow 0.15s ease !important;
	}
#ec-sorting.sorting-mobile-landscape .menuPanel .menuButton:hover,#ec-sorting.sorting-mobile-landscape .menuPanel .menuButton:active{
		transform:scale(1.025) !important;
		box-shadow:0 5px 12px rgba(0, 0, 0, 0.18) !important;
	}
#ec-sorting.sorting-mobile-landscape .menuPanel .menuButton > div{
		width:100% !important;
		padding:0 6px !important;
		font-size:clamp(16px, 2.4cqw, 21px) !important;
		line-height:1.1 !important;
		font-weight:400 !important;
		color:#20505d !important;
		white-space:nowrap !important;
		overflow:hidden !important;
		text-overflow:ellipsis !important;
		display:flex !important;
		align-items:center !important;
		justify-content:center !important;
	}
#ec-sorting.sorting-mobile-landscape .menuPanel .menuButton.yellow > div{
		color:#3d481d !important;
	}
#ec-sorting.sorting-mobile-landscape .menuPanel > div:last-child,#ec-sorting.sorting-mobile-landscape .menuPanel > div:nth-last-child(2){
		display:none;
	}
#ec-sorting.sorting-mobile-landscape #scoreBar{
		
		height:calc(max(4px, env(safe-area-inset-top)) + 50px) !important;
		min-height:54px !important;
		background:linear-gradient(180deg, #96e0ee 0%, #68cad9 100%) !important;
		border-bottom:2px solid rgba(255, 255, 255, 0.85) !important;
		box-shadow:0 3px 10px rgba(0, 0, 0, 0.12) !important;
		display:flex !important;
		align-items:center !important;
		z-index:50 !important;
		box-sizing:border-box;
	}
#ec-sorting.sorting-mobile-landscape #scoreBar table{
		height:100% !important;
	}
#ec-sorting.sorting-mobile-landscape #scoreBar td{
		vertical-align:middle !important;
	}
#ec-sorting.sorting-mobile-landscape #scoreBar span{
		color:#ffffff !important;
		font-size:clamp(14px, 2.2cqw, 19px) !important;
		font-weight:900 !important;
		line-height:1 !important;
		text-shadow:0 2px 4px rgba(0, 0, 0, 0.25) !important;
		white-space:nowrap !important;
		letter-spacing:0.5px;
	}
#ec-sorting.sorting-mobile-landscape #scoreBox{
		width:clamp(60px, 9cqw, 80px) !important;
		height:clamp(22px, 5.5cqh, 28px) !important;
		min-width:60px !important;
		font-size:clamp(15px, 2.3cqw, 20px) !important;
		font-weight:900 !important;
		line-height:1 !important;
		color:#20505d !important;
		background:#ffffff !important;
		border:2px solid #ffffff !important;
		border-radius:999px !important;
		box-shadow:inset 0 2px 4px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.16) !important;
		display:inline-flex !important;
		align-items:center !important;
		justify-content:center !important;
		padding:0 !important;
		box-sizing:border-box;
	}
#ec-sorting.sorting-mobile-landscape #dragFrame{
		box-sizing:border-box !important;
	}
#ec-sorting.sorting-mobile-landscape .dragFrameText{
		line-height:1.1 !important;
		font-weight:900 !important;
		color:#ffffff !important;
		text-shadow:0 1px 3px rgba(0, 0, 0, 0.4) !important;
		word-break:break-word !important;
		overflow-wrap:anywhere !important;
		padding:0 6px !important;
		box-sizing:border-box;
	}
#ec-sorting.sorting-mobile-landscape #boxesContainer,#ec-sorting.sorting-mobile-landscape .dropBoxesContainer{
		padding-left:0 !important;
		margin-left:0 !important;
		width:100% !important;
		box-sizing:border-box;
	}
#ec-sorting.sorting-mobile-landscape [id^="subcateg_"]:not(.lessonBoxSubcateg) > div:first-child{
		position:absolute !important;
		left:0 !important;
		right:0 !important;
		bottom:100% !important;
		top:auto !important;
		margin-bottom:4px !important;
		width:100% !important;
		height:auto !important;
	}
#ec-sorting.sorting-mobile-landscape .whiteBoxTop{
		background:rgba(255, 255, 255, 0.95) !important;
		border:2px solid #42210b !important;
		border-radius:12px !important;
		box-shadow:0 4px 12px rgba(0, 0, 0, 0.18) !important;
		box-sizing:border-box;
		padding:2px !important;
		min-height:clamp(95px, 28cqh, 141px) !important;
		height:clamp(95px, 28cqh, 141px) !important;
		width:100% !important;
		max-width:100% !important;
		overflow:hidden !important;
	}
#ec-sorting.sorting-mobile-landscape .whiteBoxTop table{
		margin:0 auto !important;
		width:100% !important;
		height:100% !important;
		border-collapse:separate !important;
		border-spacing:1px !important;
		table-layout:fixed !important;
	}
#ec-sorting.sorting-mobile-landscape .placedThumbnailCell{
		background:transparent !important;
		border:none !important;
		padding:0 !important;
		box-sizing:border-box;
		vertical-align:middle !important;
		text-align:center !important;
		width:50% !important;
		height:50% !important;
	}
#ec-sorting.sorting-mobile-landscape .placedImgWrap{
		display:inline-flex !important;
		align-items:center !important;
		justify-content:center !important;
		width:calc(100% - 2px) !important;
		height:clamp(36px, 5.1cqw, 43px) !important;
		max-width:64px !important;
		max-height:none !important;
		margin:0 auto !important;
		background-color:#ffffff !important;
		border-radius:6px !important;
		box-shadow:0 1px 4px rgba(0, 0, 0, 0.12) !important;
		padding:0 !important;
		box-sizing:border-box;
		min-width:0 !important;
		line-height:0;
		overflow:hidden !important;
	}
#ec-sorting.sorting-mobile-landscape .placedImgWrap img{
		max-width:100% !important;
		max-height:100% !important;
		width:100% !important;
		height:100% !important;
		object-fit:contain !important;
		display:block;
		margin:0 auto;
	}
#ec-sorting.sorting-mobile-landscape [id^="bottomGroup_"]{
		position:relative !important;
		width:100% !important;
		height:100% !important;
		display:flex !important;
		flex-direction:column !important;
		justify-content:space-between !important;
		box-sizing:border-box;
	}
#ec-sorting.sorting-mobile-landscape .groupImageContainer{
		width:94% !important;
		flex:1 1 auto !important;
		height:84% !important;
		max-height:84% !important;
		margin:4px auto 3px !important;
		background-color:#ffffff !important;
		border-radius:10px !important;
		display:flex !important;
		align-items:center !important;
		justify-content:center !important;
		overflow:hidden !important;
		box-sizing:border-box;
		box-shadow:inset 0 1px 4px rgba(0, 0, 0, 0.12) !important;
	}
#ec-sorting.sorting-mobile-landscape .groupImageContainer img{
		max-width:94% !important;
		max-height:84% !important;
		width:auto !important;
		height:auto !important;
		transform:none !important;
		object-fit:contain !important;
		display:block;
	}
#ec-sorting.sorting-mobile-landscape .groupTextBottom{
		width:100% !important;
		flex:0 0 auto !important;
		font-size:clamp(14px, 2cqw, 18px) !important;
		font-weight:900 !important;
		line-height:1.2 !important;
		color:#ffffff !important;
		background-color:#42210b !important;
		border-radius:0 0 10px 10px !important;
		padding:4px 6px !important;
		text-align:center !important;
		box-sizing:border-box;
	}
#ec-sorting.sorting-mobile-landscape #dragFrame{
		z-index:300 !important;
		filter:drop-shadow(0 6px 14px rgba(0, 0, 0, 0.22)) !important;
		touch-action:none;
	}
#ec-sorting.sorting-mobile-landscape #dragFrame .dragFrameText{
		font-size:clamp(15px, 2.2cqw, 22px) !important;
		font-weight:900 !important;
		color:#ffffff !important;
		text-shadow:0 2px 4px rgba(0, 0, 0, 0.4) !important;
	}
#ec-sorting.sorting-mobile-landscape #gameOverContainer,#ec-sorting:not(.sorting-mobile-page) #gameOverContainer{
		position:absolute !important;
		left:50% !important;
		top:4px !important;
		transform:translateX(-50%) !important;
		width:clamp(400px, 64cqw, 540px) !important;
		max-width:96% !important;
		height:auto !important;
		margin:0 !important;
		background:none !important;
		background-color:transparent !important;
		z-index:2000 !important;
		box-sizing:border-box !important;
	}
#ec-sorting.sorting-mobile-landscape #gameOverContainer::before,#ec-sorting:not(.sorting-mobile-page) #gameOverContainer::before{
		display:none !important;
	}
#ec-sorting.sorting-mobile-landscape #gameOverContainer table,#ec-sorting:not(.sorting-mobile-page) #gameOverContainer table{
		width:100% !important;
		background:none !important;
		background-color:transparent !important;
		border-collapse:collapse !important;
	}
#ec-sorting.sorting-mobile-landscape #gameOverContainer table tr,#ec-sorting:not(.sorting-mobile-page) #gameOverContainer table tr{
		background:none !important;
		background-color:transparent !important;
	}
#ec-sorting.sorting-mobile-landscape #gameOverContainer table td,#ec-sorting:not(.sorting-mobile-page) #gameOverContainer table td{
		background:none !important;
		background-color:transparent !important;
		border:none !important;
	}
#ec-sorting.sorting-mobile-landscape #gameOverContainer table tr:first-child,#ec-sorting:not(.sorting-mobile-page) #gameOverContainer table tr:first-child{
		display:table-row !important;
		height:clamp(22px, 5.5cqh, 38px) !important;
		background:none !important;
	}
#ec-sorting.sorting-mobile-landscape #gameOverContainer table tr:first-child td:first-child,#ec-sorting:not(.sorting-mobile-page) #gameOverContainer table tr:first-child td:first-child{
		display:table-cell !important;
		text-align:left !important;
		padding-left:9% !important;
		vertical-align:bottom !important;
		height:clamp(22px, 5.5cqh, 38px) !important;
		background:none !important;
	}
#ec-sorting.sorting-mobile-landscape #gameOverContainer table tr:first-child td:last-child,#ec-sorting:not(.sorting-mobile-page) #gameOverContainer table tr:first-child td:last-child{
		display:table-cell !important;
		text-align:right !important;
		padding-right:9% !important;
		vertical-align:bottom !important;
		height:clamp(22px, 5.5cqh, 38px) !important;
		background:none !important;
	}
#ec-sorting.sorting-mobile-landscape #gameOverContainer table tr:first-child img,#ec-sorting:not(.sorting-mobile-page) #gameOverContainer table tr:first-child img{
		height:clamp(22px, 5.5cqh, 38px) !important;
		width:auto !important;
		display:inline-block !important;
		vertical-align:bottom !important;
		background:none !important;
	}
#ec-sorting.sorting-mobile-landscape #gameOverContainerDiv,#ec-sorting:not(.sorting-mobile-page) #gameOverContainerDiv{
		background-color:#92d7e7 !important;
		border:5px solid #ffffff !important;
		border-radius:22px !important;
		box-shadow:0 10px 30px rgba(0, 0, 0, 0.35) !important;
		height:auto !important;
		min-height:auto !important;
		width:92% !important;
		margin:-4px auto 0 auto !important;
		padding:14px 20px 18px 20px !important;
		box-sizing:border-box !important;
		display:flex !important;
		flex-direction:column !important;
		align-items:center !important;
		justify-content:center !important;
	}
#ec-sorting.sorting-mobile-landscape #gameOverCloud,#ec-sorting:not(.sorting-mobile-page) #gameOverCloud{
		width:clamp(240px, 42cqw, 340px) !important;
		height:clamp(62px, 12.5cqh, 85px) !important;
		margin:0 auto 4px auto !important;
		background-size:100% 100% !important;
		font-size:clamp(19px, 3cqw, 26px) !important;
		font-weight:900 !important;
		color:#20505d !important;
		display:flex !important;
		align-items:center !important;
		justify-content:center !important;
	}
#ec-sorting.sorting-mobile-landscape #gameOverCloud > div,#ec-sorting:not(.sorting-mobile-page) #gameOverCloud > div{
		padding-top:10px !important;
	}
#ec-sorting.sorting-mobile-landscape #gameOverScore,#ec-sorting:not(.sorting-mobile-page) #gameOverScore{
		font-size:clamp(17px, 2.6cqw, 22px) !important;
		font-weight:900 !important;
		color:#ffffff !important;
		text-shadow:0 2px 4px rgba(0, 0, 0, 0.3) !important;
		margin-top:2px !important;
		margin-bottom:12px !important;
		text-align:center !important;
	}
#ec-sorting.sorting-mobile-landscape #gameOverButtonsContainer,#ec-sorting:not(.sorting-mobile-page) #gameOverButtonsContainer{
		display:flex !important;
		align-items:center !important;
		justify-content:space-evenly !important;
		width:100% !important;
		gap:10px !important;
		margin-top:2px !important;
	}
#ec-sorting.sorting-mobile-landscape #gameOverButtonsContainer .menuButton,#ec-sorting:not(.sorting-mobile-page) #gameOverButtonsContainer .menuButton{
		float:none !important;
		margin:0 !important;
		width:clamp(155px, 27cqw, 205px) !important;
		height:clamp(38px, 8.5cqh, 46px) !important;
		border-radius:20px !important;
		box-shadow:0 3px 8px rgba(0,0,0,0.15) !important;
		display:flex !important;
		align-items:center !important;
		justify-content:center !important;
		transition:transform 0.15s ease !important;
	}
#ec-sorting.sorting-mobile-landscape #gameOverButtonsContainer .menuButton:hover,#ec-sorting:not(.sorting-mobile-page) #gameOverButtonsContainer .menuButton:hover{
		transform:scale(1.04) !important;
	}
#ec-sorting.sorting-mobile-landscape #gameOverButtonsContainer .menuButton > div,#ec-sorting:not(.sorting-mobile-page) #gameOverButtonsContainer .menuButton > div{
		font-size:clamp(15px, 2.2cqw, 18px) !important;
		font-weight:800 !important;
		color:#20505d !important;
		white-space:nowrap !important;
		text-align:center !important;
		padding:0 6px !important;
	}
#ec-sorting.sorting-mobile-landscape #LoadingDiv{
		position:absolute !important;
		top:45% !important;
		left:50% !important;
		transform:translate(-50%, -50%) !important;
		margin:0 !important;
		font-size:clamp(22px, 4.5cqw, 36px) !important;
		font-weight:900 !important;
		color:#ffffff !important;
		letter-spacing:2px !important;
		text-shadow:0 3px 8px rgba(0, 0, 0, 0.4) !important;
		background:rgba(32, 80, 93, 0.55) !important;
		padding:12px 32px !important;
		border-radius:999px !important;
		border:2px solid rgba(255, 255, 255, 0.85) !important;
		box-shadow:0 8px 24px rgba(0, 0, 0, 0.25) !important;
		text-align:center !important;
		white-space:nowrap !important;
		z-index:1000 !important;
	}
#ec-sorting.sorting-mobile-landscape .lessonBoxSubcateg{
		background-color:#42210b !important;
		border:none !important;
		border-radius:4px !important;
		box-shadow:0 6px 16px rgba(0, 0, 0, 0.25) !important;
		box-sizing:border-box !important;
		position:absolute !important;
		display:block !important;
		overflow:visible !important;
	}
#ec-sorting.sorting-mobile-landscape .lessonBoxSubcateg .whiteBox{
		width:86% !important;
		height:calc(100% - 50px) !important;
		margin:8px auto 0 !important;
		background-color:#fcf9f7 !important;
		border-radius:3px !important;
		position:relative !important;
		overflow:hidden !important;
		box-sizing:border-box !important;
		padding:1px !important;
		display:block !important;
		z-index:2 !important;
	}
#ec-sorting.sorting-mobile-landscape .lessonBoxSubcateg .whiteBox table{
		width:100% !important;
		height:100% !important;
		background-color:#fcf9f7 !important;
		border-collapse:collapse !important;
	}
#ec-sorting.sorting-mobile-landscape .lessonBoxSubcateg .whiteBox td{
		background-color:#fcf9f7 !important;
		border:none !important;
	}
#ec-sorting.sorting-mobile-landscape .lessonBoxSubcateg .whiteBox td.emptyLessonTd{
		background-color:#fcf9f7 !important;
		border:none !important;
	}
#ec-sorting.sorting-mobile-landscape .lessonBoxSubcateg .whiteBox td.placedLessonTd{
		background-color:#d8c480 !important;
		color:#42210b !important;
		font-weight:800 !important;
		vertical-align:middle !important;
		text-align:center !important;
		border-radius:2px !important;
		font-size:clamp(11px, 1.55cqw, 15px) !important;
		line-height:1.05 !important;
		padding:1px 3px !important;
		box-sizing:border-box !important;
	}
#ec-sorting.sorting-mobile-landscape .lessonBoxSubcateg .lessonGroupText{
		position:absolute !important;
		bottom:0 !important;
		left:0 !important;
		right:0 !important;
		height:38px !important;
		line-height:1.05 !important;
		font-size:clamp(15px, 2cqw, 19px) !important;
		font-weight:900 !important;
		color:#ffffff !important;
		text-shadow:0 1px 2px rgba(0, 0, 0, 0.4) !important;
		padding:0 4px !important;
		box-sizing:border-box !important;
		text-align:center !important;
		word-break:break-word !important;
		overflow-wrap:anywhere !important;
		margin:0 !important;
		width:100% !important;
		background-color:#42210b !important;
		border:none !important;
		display:flex !important;
		align-items:center !important;
		justify-content:center !important;
		z-index:5 !important;
	}
#ec-sorting.sorting-mobile-landscape .lessonBoxSubcateg .bigMedal{
		top:-13px !important;
		right:-10px !important;
		left:auto !important;
		width:clamp(38px, 5cqw, 46px) !important;
		height:clamp(62px, 8.2cqw, 75px) !important;
		z-index:20 !important;
		pointer-events:none !important;
	}
}
#ec-sorting.sorting-mobile-page #UIContainer.sorting-portrait-menu{
	width:100% !important;
	min-height:100cqh !important;
	padding-bottom:0;
	--sorting-blue-stop:calc(100% - 24px) !important;
}
#ec-sorting.sorting-mobile-page #sortingPortraitMenu{
	position:relative;
	box-sizing:border-box;
	min-height:100cqh;
	display:flex;
	flex-direction:column;
	padding:26px 22px 48px;
	color:#356b7b;
	font-family:Arial, sans-serif;
}
#ec-sorting #sortingPortraitMenu #sortingChoiceHeading{
	margin:0;
	padding:2px 28px 0;
	font-size:clamp(21px, 6cqw, 28px);
	font-weight:800;
	line-height:1.25;
	text-align:center;
	color:#285a6b;
	outline:none;
}
#ec-sorting #sortingPortraitMenu .sorting-choices{
	flex:1;
	display:flex;
	flex-direction:column;
	justify-content:center;
	gap:clamp(14px, 3cqh, 24px);
	width:100%;
	max-width:440px;
	margin:0 auto;
	padding:24px 0 12px;
}
#ec-sorting #sortingPortraitMenu button,#ec-sorting #sortingPortraitMenu select{
	appearance:none;
	box-sizing:border-box;
	font:inherit;
	font-weight:700;
	color:#356b7b;
	cursor:pointer;
}
#ec-sorting #sortingPortraitMenu .sorting-category-choice,#ec-sorting #sortingPortraitMenu .sorting-activity-choice{
	flex:0 0 auto;
	width:100%;
	border:3px solid #fff;
	border-radius:26px;
	background:#fcf9f7;
	box-shadow:0 5px 0 rgba(53, 107, 123, .18);
	display:flex;
	align-items:center;
	justify-content:center;
	text-align:center;
	transition:transform .15s, box-shadow .15s;
}
#ec-sorting #sortingPortraitMenu .sorting-category-choice{
	flex-direction:column;
	gap:8px;
	min-height:190px;
	height:clamp(190px, 28cqh, 230px);
	padding:16px 12px;
	font-size:clamp(27px, 7cqw, 32px);
}
#ec-sorting #sortingPortraitMenu .sorting-choice-lessons,#ec-sorting #sortingPortraitMenu .sorting-choice-all{ background:#fff8df; }
#ec-sorting #sortingPortraitMenu .sorting-choice-icon{
	display:block;
	width:190px;
	height:90px;
	max-width:85%;
	object-fit:contain;
}
#ec-sorting #sortingPortraitMenu .sorting-choice-description{
	font-size:clamp(13px, 3.6cqw, 16px);
	font-weight:400;
	line-height:1.3;
}
#ec-sorting #sortingPortraitMenu .sorting-activity-choice{
	min-height:58px;
	padding:14px 18px;
	font-size:clamp(18px, 5cqw, 24px);
	line-height:1.2;
}
#ec-sorting #sortingPortraitMenu .sorting-choice-back{
	position:absolute;
	top:18px;
	left:12px;
	width:44px;
	height:44px;
	padding:0;
	border:2px solid #fff;
	border-radius:14px;
	background:rgba(255,255,255,.55);
	font-size:28px;
}
#ec-sorting #sortingPortraitMenu .sorting-level-label{ font-weight:700; text-align:center; }
#ec-sorting #sortingPortraitMenu #sortingLessonLevel{
	appearance:auto;
	width:100%;
	min-height:52px;
	padding:10px 16px;
	border:2px solid #fff;
	border-radius:16px;
	background:#fff8df;
	font-size:20px;
}
#ec-sorting #sortingPortraitMenu button:active{ transform:translateY(3px); box-shadow:none; }
#ec-sorting #sortingPortraitMenu button:focus-visible,#ec-sorting #sortingPortraitMenu select:focus-visible{ outline:3px solid #315d82; outline-offset:3px; }
@media (hover:hover){#ec-sorting #sortingPortraitMenu button:hover{ border-color:#356b7b; }
}
@container ec-sorting (max-height:650px){#ec-sorting.sorting-mobile-page #sortingPortraitMenu{ padding:20px 18px 38px; }
#ec-sorting #sortingPortraitMenu .sorting-choices{ gap:14px; padding-top:20px; }
#ec-sorting #sortingPortraitMenu .sorting-category-choice{ min-height:164px; height:164px; gap:6px; padding:12px; }
#ec-sorting #sortingPortraitMenu .sorting-choice-icon{ height:70px; }
}
@media (prefers-reduced-motion:reduce){#ec-sorting #sortingPortraitMenu button{ transition:none; }
}

/* Keep document scrolling. Only dragging a card suppresses touch panning. */
#game-frame #ec-sorting,#game-frame #ec-sorting #fullScreenContainer,#game-frame #ec-sorting #game,#game-frame #ec-sorting #UIContainer{overflow:clip!important;touch-action:pan-y!important;}
#game-frame #ec-sorting #UIContainer.sorting-portrait-menu{height:100%!important;min-height:0!important;overflow-y:auto!important;}
#game-frame #ec-sorting #dragFrame,#game-frame #ec-sorting #dragFrame *{touch-action:none!important;}
html.sorting-layout-mobile-landscape,html.sorting-layout-mobile-landscape body{height:auto!important;overflow-x:clip!important;overflow-y:auto!important;overscroll-behavior:auto;}
html.sorting-layout-mobile-landscape #game-main,html.sorting-layout-mobile-landscape .sorting-game-container{position:relative!important;inset:auto!important;height:auto!important;overflow:visible!important;z-index:auto!important;}
html.sorting-layout-mobile-landscape #game-frame.ec-sorting-frame{position:relative!important;inset:auto!important;width:100%!important;height:100dvh!important;margin:0!important;}
html.sorting-layout-mobile-landscape #gameCursel,html.sorting-layout-mobile-landscape #footer{display:block!important;}
