.section-scene-container {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: block;

	/* Gris sólido un poco más claro y sin transparencias */
	background-color: #2a2b2d;
	
	/* Borde doble sólido industrial */
	border: 1px solid #000;
	outline: 1px solid rgba(255, 255, 255, 0.1);
	outline-offset: -4px;

	z-index: 1;
}

.section-scene-container::before {
	content: "";
	position: absolute;
	inset: 0;
	/* Textura de líneas horizontales muy sutil sobre el fondo sólido */
	background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
	background-size: 100% 4px;
	pointer-events: none;
	z-index: 0;
}

.section-scene-container::after {
	display: none;
}


.game-scene-background {
	position: absolute;
	left: 0px;
	right: 0px;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: 99;
}

.game-scene-window {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	background: radial-gradient(circle,rgba(61, 61, 61, 1) 0%, rgba(42, 43, 44, 1) 100%);
	border: 4px solid var(--red);
	border-radius: 5px;
	box-shadow: 0 0 20px black;
}

.game-scene-header {
	position: absolute;
	left: -1px;
	right: -1px;
	top: -1px;
	padding-bottom: 1px;
	height: 24px;
	background-color: var(--red);
}

.game-scene-container {
	position: absolute;
	top: 24px;
	bottom: 0px;
	width: 100%;
	box-shadow: inset 1px 1px 1px black, inset -1px -1px 1px black;
	background-image: url("../assets/images/textures/texture3.png"); 
}

.game-scene-title {
	position: absolute;
	top: 7px;
	left: 8px;
	color: var(--white);
	font-size: 13px;
	text-shadow: 1px 1px 1px black;
}

.game-scene-close-button {
	position: absolute;
	top: 4px;
	right: 8px;
	cursor: pointer;
	color: var(--white);
	text-shadow: 1px 1px 1px black;
	transition: .2s;
}

.game-scene-close-button:hover {
	filter: brightness(1.2);
}

/* PROFILE */
/* PROFILE */
/* PROFILE */


/* CHALLANGE */
/* CHALLANGE */
/* CHALLANGE */


.draft-scene-pokemon-container {
	position: absolute;
	left: 50%;
	transform: translate(-50%);
	bottom: 70px;
	width: 330px;
	height: 50px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
}

.draft-scene-pokemon {
	position: relative;
	width: 80px;
	height: 50px;
	background-position: center;
	background-repeat: no-repeat;
	cursor: pointer;
}

.draft-scene-pokemon-label {
	position: absolute;
	bottom: 0px;
	width: 100%;
	color: var(--white);
	font-size: 8px;
	text-align: center;
}

.draft-scene-pokemon:hover {
	filter: brightness(1.2) drop-shadow(0 0 2px var(--white));
}

.draft-scene-data-button-container {
	position: absolute;
	left: 50%;
	transform: translate(-50%);
	bottom: 49px;
	width: 330px;
	height: 15px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
}

.draft-scene-pokemon-data {
	width: 90px;
	height: 18px;
	font-size: 8px;
	text-align: center;
	line-height: 18px; 
	color: var(--white);
	cursor: pointer;
	outline: 1px solid black;
	text-shadow: 1px 1px black;
	transition: .2s;
	border-radius: 3px;

	border-radius: 3px;
	background: url("../assets/images/textures/texture1.png"), linear-gradient(39deg,rgba(44, 112, 227, 1) 0%, rgba(57, 102, 179, 1) 100%);
}

.draft-scene-pokemon-data:hover {
	filter: brightness(1.2);
}

.draft-scene-reroll-container {
	position: absolute;
	left: 50%;
	transform: translate(-50%);
	bottom: 12px; 
	width: 100px;
	height: 20px;
	display: flex;
	justify-content: center;
}

.draft-scene-reroll-button {
	width: 90px;
	height: 18px;
	font-size: 8px;
	text-align: center;
	line-height: 18px;
	color: var(--white);
	cursor: pointer;
	outline: 1px solid black;
	text-shadow: 1px 1px black;
	transition: .2s;
	border-radius: 3px;
	background: url("../assets/images/textures/texture1.png"), linear-gradient(39deg, rgba(212, 140, 23, 1) 0%, rgba(180, 100, 15, 1) 100%);
}

.draft-scene-reroll-button:hover {
	filter: brightness(1.2);
	transform: scale(1.05);
}

.draft-scene-reroll-button.disabled {
	filter: grayscale(1) opacity(0.5);
	cursor: default;
	pointer-events: none;
	transform: scale(1) !important;
}

.draft-scene-reroll-button:not(.disabled):hover {
	filter: brightness(1.2);
	transform: scale(1.05);
}

/* POKEMON DATA */
/* POKEMON DATA */
/* POKEMON DATA */
.pokemon-scene-name {
	position: absolute;
	top: 20px;
	left: 20px;
	right: 20px;
	text-align: center;
	color: var(--white);
	font-size: 14px;
	border-bottom: 2px solid var(--white);
	padding-bottom: 3px;
	cursor: pointer;
	filter: drop-shadow(1px 1px black);
}

.pokemon-scene-name:hover {
	filter: drop-shadow(1px 1px black) brightness(1.2);
}

.pokemon-scene-arrow-prev, .pokemon-scene-arrow-next {
	position: absolute;
	top: 0px;
	color: var(--white);
	cursor: pointer;
	filter: drop-shadow(1px 1px black);
	padding: 18px;
}

.pokemon-scene-arrow-prev {
	left: 40px;
}
.pokemon-scene-arrow-next {
	right: 40px;
}

.pokemon-scene-arrow-prev:hover, .pokemon-scene-arrow-next:hover {
	filter: drop-shadow(1px 1px black) brightness(1.2);
}

.pokemon-scene-data-container {
	position: absolute;
	top: 48px;
	left: 30px;
	right: 30px;
	
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.pokemon-scene-data {
	position: relative;
	height: 20px;
	width: 100%;
	font-size: 11px;
	color: var(--white);
	line-height: 24px;
	border-bottom: 1px dashed var(--white);
	display: flex;
	flex-wrap: wrap;
	filter: drop-shadow(1px 1px black);
}

.pokemon-scene-data-label {
	position: relative;
	left: 10px;
	height: 100%;
	width: 40%;
}

.pokemon-scene-data-value {
	position: relative;
	right: 10px;
	height: 100%;
	width: 60%;
	text-align: right;
}

.pokemon-scene-data-value-at {
	position: relative;
	right: 10px;
	height: 100%;
	width: 54%;
	text-align: center;
}

.pokemon-scene-data-arrow-at {
	position: relative;
	right: 10px;
	height: 100%;
	width: 3%;
	font-weight: bold;
	color: var(--red);
	text-align: center;
	cursor: pointer;
}

.pokemon-scene-data-arrow-at:hover {
	filter: brightness(1.2);
}

.pokemon-scene-ability-container {
	position: absolute;
	left: 20px;
	right: 20px;
	top: 245px;
	height: 100px;
	
	background-color: rgba(0, 0, 0, 0.4);
	border-radius: 5px;
	outline: 1px solid var(--white);
}

.pokemon-scene-ability-name {
	position: absolute;
	background-color: var(--white);
	top: -1px;
	padding-top: 2px;
	padding-bottom: 1px;
	left: 50px;
	right: 50px;
	height: 12px;
	font-size: 10px;
	line-height: 14px;
	text-align: center;
	border-radius: 0 0 5px 5px;
	color: #222;
}

.pokemon-scene-ability-description {
	position: absolute;
	top: 22px;
	left: 20px;
	right: 20px;
	font-size: 10px;
	line-height: 15px;
	text-align: left;
	align-content: center;
	color: var(--white);
	text-shadow: 1px 1px black;
}

.pokemon-scene-item-container {
	position: absolute;
	left: 20px;
	right: 20px;
	top: 363px;
	height: 100px;
	
	background-color: rgba(0, 0, 0, 0.4);
	border-radius: 5px;
	outline: 1px solid var(--white);
}

.pokemon-scene-item-name {
	position: absolute;
	background-color: var(--white);
	top: -1px;
	padding-top: 2px;
	padding-bottom: 1px;
	left: 50px;
	right: 50px;
	height: 12px;
	font-size: 10px;
	line-height: 14px;
	text-align: center;
	border-radius: 0 0 5px 5px;
	color: #222;
}

.pokemon-scene-item-icon {
	position: absolute;
	right: 7px;
	bottom: 7px;
	width: 21px;
	height: 21px;
	outline: 1px solid var(--white);
	color: var(--white);
	text-align: center;	
	line-height: 24px;
	border-radius: 10%;
	cursor: pointer;
	background-size: contain;
	background-color: center;
	text-shadow: 1px 1px black;
}

.pokemon-scene-item-icon:hover {
	filter: brightness(1.2);
	background-color: var(--red);
}

.pokemon-scene-item-description {
	position: absolute;
	top: 22px;
	left: 20px;
	right: 20px;
	font-size: 10px;
	line-height: 15px;
	text-align: left;
	align-content: center;
	color: var(--white);
	text-shadow: 1px 1px black;
}

.pokemon-scene-level-up-container {
	position: absolute;
	bottom: 15px;
	left: 70px;
	right: 70px;
	height: 30px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
}

.pokemon-scene-level-up {
	position: relative;
	width: 120px;
	height: 26px;
	padding: 3px 0;
	background: url("../assets/images/textures/texture3.png"), linear-gradient(240deg,rgba(162, 57, 52, 1) 0%, rgba(163, 54, 53, 1) 100%);
	color: var(--white);
	text-shadow: 1px 1px 1px black;
	border-radius: 4px;
	font-size: 8px;
	outline: 1px solid black;
	text-transform: uppercase;
	text-align: center;
	line-height: 14px;
	cursor: pointer;
	transition: .2s;
}

.pokemon-scene-level-up:hover { filter: brightness(1.2); }

.pokemon-scene-button-dna {
	position: absolute;
	bottom: 15px;
	right: 27px;
	height: 32px;
	width: 32px;
	line-height: 20px;
	background-position: bottom;
	background-repeat: no-repeat;
	font-size: 16px;
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
	transition: .2s;
}

.pokemon-scene-button-dna:hover { filter: brightness(1.2);}

.pokemon-scene-evolution-sprite, .pokemon-scene-reset-sprite {
	position: absolute;
	bottom: 20px;
	
	left: 27px;
	height: 50px;
	width: 40px;
	line-height: 20px;

	background-position: bottom;
	background-repeat: no-repeat;

	font-size: 16px;

	text-transform: uppercase;
	text-align: center;
}

.pokemon-scene-reset-sprite {
	cursor: pointer;
	transition: .2s;
}

.pokemon-scene-reset-sprite:hover {
	filter: brightness(1.2) drop-shadow(0 0 2px black);
}

.pokemon-scene-evolution-level {
	position: absolute;
	width: 200%;
	left: -50%;
	bottom: -15px;
	text-align: center;
	color: var(--white);
	font-size: 7px;
	text-shadow: 1px 1px black;
}

.pokemon-scene-skin-container {
	position: absolute;
	top: 50%;
	right: -62px;
	transform: translate(0%, -50%);
	width: 40px;
	height: 150px;
	background-color: #2a2b2c;
	border: 1px solid black;
	outline: 4px solid var(--red);
	border-radius: 5px;
	z-index: 1;

	display: flex;
	flex-wrap: wrap;
	align-content: space-evenly;
	justify-content: space-evenly;	
}

.pokemon-scene-skin-slot {
	position: relative;
	height: 40px;
	width: 40px;
	background-position: center;
	background-repeat: no-repeat;
	cursor: pointer;
}

.pokemon-scene-skin-slot:hover {
	filter: brightness(1.2) drop-shadow(0 0 2px black);
}

.item-scene-window {
	position: absolute;
	width: 320px;

	max-height: 400px; 
	background-color: #2a2b2c;
	bottom: 105px;
	right: -125px;
	border-radius: 10px;
	outline: 1px solid black;
	border: 2px solid var(--white);
	box-shadow: 0 0 10px black;
	
	display: flex;
	flex-direction: column;
}

.item-scene-container {
	position: relative;
	margin: 7px; 
	padding: 8px;
	
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-content: flex-start;
	gap: 6px;
	
	background-color: rgba(0, 0, 0, 0.2);
	outline: 1px solid #333;
	border-radius: 10px;

	overflow-y: auto;
}

.item-scene-slot {
	position: relative;
	width: 30px;
	height: 30px;
	cursor: pointer;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	flex-shrink: 0;
}

.item-scene-slot-x {
	text-align: center;
	line-height: 30px;
	color: var(--red);
	text-shadow: 1px 1px black;
	font-weight: bold;
}

.item-scene-slot:hover {
	filter: brightness(1.2) drop-shadow(0 0 2px var(--white));
}

.item-scene-slot-equiped {
	position: absolute;
	bottom: 4px;
	right: 4px;
	font-size: 6px;
	color: var(--white);
	pointer-events: none;
}
/* SHOP */
/* SHOP */
/* SHOP */


/* BOX */
/* BOX */
/* BOX */


/* INVENTORY */
/* INVENTORY */
/* INVENTORY */

/* DEFEAT */

.defeat-scene-prompt {
	position: absolute;
	top: 18px;
	left: 10px;
	right: 10px;
	text-align: center;
	color: var(--white);
	font-size: 14px;
	line-height: 20px;
	text-shadow: 1px 1px 1px black;
}

.defeat-scene-image {
	position: absolute;
	top: 45%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-image: url("../assets/images/icons/ghost.png");
	width: 100px;
	height: 100px;
	background-size: contain;
	image-rendering: pixelated;
}	

.defeat-scene-image-happy {
	position: absolute;
	top: 45%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-image: url("../assets/images/icons/ghost-happy.png");
	width: 100px;
	height: 100px;
	background-size: contain;
	image-rendering: pixelated;
}	


.defeat-restart-button, .defeat-retry-button {
	position: absolute;
	bottom: 55px;
	width: 140px;
	height: 24px;
	text-align: center;
	line-height: 26px;
	color: var(--white);
	text-shadow: 1px 1px 1px black;
	border-radius: 4px;
	border: 1px solid black;
	font-size: 12px;
	cursor: pointer;
	transition: .2s;
}

.defeat-restart-button {
	left: 20px;
	background-color: var(--red);
}

.defeat-retry-button {
	right: 20px;
	background-color: #2d70e3;
}

.defeat-restart-button:hover, .defeat-retry-button:hover {
	filter: brightness(1.2);
}

.defeat-scene-info {
	position: absolute;
	bottom: 10px;
	left: 10px;
	right: 10px;
	text-align: center;
	color: var(--red);
	font-size: 10px;
	line-height: 16px;
	text-shadow: 1px 1px 1px black;
}

.final-scene-image {
	position: absolute;
	top: 93px;
	left: 50%;
	transform: translate(-50%, -50%);
	background-image: url("../assets/images/icons/ghost.png");
	width: 100px;
	height: 100px;
	background-size: contain;
	image-rendering: pixelated;
	background-repeat: no-repeat;
	background-position: center;
}

.final-hof-container {
	position: absolute;
	left: 50%;
	transform: translate(-50%);
	top: 105px;
	height: 32px;
	width: 400px;

	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.final-hof {
	position: relative;
	height: 50px;
	width: 40px;
	background-position: bottom;
	background-repeat: no-repeat;
}

.final-challenge-container {
	position: absolute;
	top: 230px;
	left: 50%;
	transform: translate(-50%);
	width: 300px;
	height: 100px;
	background-color: rgba(0, 0, 0, 0.7);
	border-radius: 5px;
	outline: 3px solid #888;
	border: 1px solid black;
	box-shadow: 0 0 10px black;
	
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding: 10px 0;
}

.final-challenge {
	position: relative;
	top: 7px;
	width: 100%;
	font-size: 8px;
	text-align: center;
}

.final-accept-button {
	position: absolute;
	bottom: 55px;
	left: 40px;
	right: 40px;
	height: 24px;
	text-align: center;
	line-height: 26px;
	background-color: #2d70e3;
	color: var(--white);
	text-shadow: 1px 1px 1px black;
	border-radius: 4px;
	border: 1px solid black;
	font-size: 12px;
	cursor: pointer;
	transition: .2s;
}

.final-accept-button:hover {
	filter: brightness(1.2);
}

.defeat-scene-banette {
	position: absolute;
	top: 470px;
	right: -180px;
	height: 120px;
	width: 120px;
	background-image: url('../assets/images/icons/banette.png');
	background-size: 100%;

	cursor: pointer;
	transition: .3s;
	z-index: -2;
}



/* NEW GAME */

.profile-scene-portrait-ng {
	position: absolute;
	top: 25px;
	left: 50%;
	transform: translate(-50%);
	height: 80px;
	width: 80px;
	background-position: center;
	filter: drop-shadow(2px 2px black);
}

.profile-scene-avatar-arrow-prev-ng, .profile-scene-avatar-arrow-next-ng {
	position: absolute;
	top: 34px;

	color: var(--white);
	text-shadow: 2px 2px 1px black;
	font-size: 30px;
	font-weight: bold;
	line-height: 65px;
	text-align: center;
	cursor: pointer;
	transition: 0.2s;
}

.profile-scene-avatar-arrow-prev-ng { left: 91px; }
.profile-scene-avatar-arrow-next-ng { right: 88px; }

.profile-scene-avatar-arrow-prev-ng:hover, .profile-scene-avatar-arrow-next-ng:hover {
	color: var(--red);
	filter: brightness(1.2);
}

.profile-scene-name-ng {
	position: absolute;
	top: 115px;
	width: 200px;
	left: 50%;
	transform: translate(-50%);
	color: var(--white);
	text-align: center;
	text-transform: uppercase;
	padding-bottom: 2px;
	border-bottom: 3px solid var(--red);
	filter: drop-shadow(1px 1px black);
}

.new-game-flag-container {
	position: absolute;
	top: 10px;
	height: 40px;
	left: 1px;
	right: 1px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-content: center;
	outline: 1px solid black;
	gap: 10px;
	background-color: rgba(0, 0, 0, 0.2);
}

.new-game-flag {
	position: relative;
	width: 32px;
	height: 32px;
	cursor: pointer;
	transition: .1s;
	filter: brightness(0.6) drop-shadow(1px 1px black);
}

.new-game-flag:hover {
	filter: brightness(1) drop-shadow(1px 1px black);;
}

.new-game-flag:nth-child(1) { background-image: url('../assets/images/icons/en.png');}
.new-game-flag:nth-child(2) { background-image: url('../assets/images/icons/es.png');}
.new-game-flag:nth-child(3) { background-image: url('../assets/images/icons/fr.png');}
.new-game-flag:nth-child(4) { background-image: url('../assets/images/icons/pt.png');}
.new-game-flag:nth-child(5) { background-image: url('../assets/images/icons/it.png');}
.new-game-flag:nth-child(6) { background-image: url('../assets/images/icons/de.png');}
.new-game-flag:nth-child(7) { background-image: url('../assets/images/icons/jp.png');}
.new-game-flag:nth-child(8) { background-image: url('../assets/images/icons/kr.png');}
.new-game-flag:nth-child(9) { background-image: url('../assets/images/icons/cn.png');}
.new-game-flag:nth-child(10) { background-image: url('../assets/images/icons/po.png');}

.new-game-starter-profile-container {
	position: absolute;
	width: 100%;
	top: 35px;
}

.new-game-starter-name {
	position: absolute;
	left: 50%;
	transform: translate(-50%);
	bottom: 170px;
	width: 200px;
	text-align: center;
	filter: drop-shadow(1px 1px black);
}

.new-game-starter-description {
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 60px;
	height: 50px;
	font-size: 10px;
	line-height: 15px;
	text-align: center;
	filter: drop-shadow(1px 1px black);
}

.new-game-starter-container {
	position: absolute;
	bottom: 120px;
	width: 100%;
	height: 40px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 50px;
}

.new-game-starter {
	position: relative;
	width: 40px;
	height: 40px;

	background-position: center;
	background-repeat: no-repeat;
	cursor: pointer;
	filter: brightness(0.5);
	transition: .1s;
}

.new-game-starter:hover {
	filter: brightness(1);
}

.new-game-start-button {
	position: absolute;
	left: 50%;
	bottom: 17px;
	transform: translate(-50%);
	width: 160px;
	height: 26px;
	background: url("../assets/images/textures/texture3.png"), linear-gradient(39deg,rgba(163, 54, 53, 1) 0%, rgba(133, 60, 58, 1) 100%);
	color: var(--white);
	text-align: center;
	outline: 1px solid black;
	border-radius: 4px;
	line-height: 30px;
	font-size: 14px;
	cursor: pointer;
	text-shadow: 1px 1px 1px black;
	transition: .2s;
}

.new-game-start-button:hover {
	filter: brightness(1.2);
}

/* MENU */

/* TUTORIAL */

.tutorial-scene-title {
	position: absolute;
	left: 40px;
	right: 40px;
	top: 20px;
	font-size: 20px;
	text-align: center;
	color: var(--white);
	padding-bottom: 3px;
	border-bottom: 4px solid var(--white);
	filter: drop-shadow(2px 2px black);
}

.tutorial-scene-image {
	position: absolute;
	top: 65px;
	left: 50%;
	transform: translate(-50%);
	width: 340px;
	height: 150px;
	box-shadow: inset 1px 1px 1px black, inset -1px -1px 1px black;
	outline: 3px solid var(--red);
}

.tutorial-scene-index {
	position: absolute;
	left: 20px;
	right: 20px;
	top: 230px;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	line-height: 16px;
	color: var(--red);
	text-shadow: 1px 1px black;
}

.tutorial-scene-text {
	position: absolute;
	left: 20px;
	right: 20px;
	top: 253px;
	font-size: 12px;
	text-align: center;
	line-height: 20px;
	color: var(--white);
	text-shadow: 1px 1px black;
}

.tutorial-scene-prev, .tutorial-scene-next  {	
	position: absolute;
	bottom: 15px;
	width: 170px;
	height: 24px;
	text-align: center;
	line-height: 26px;
	background: url("../assets/images/textures/texture3.png"), linear-gradient(39deg,rgba(163, 54, 53, 1) 0%, rgba(133, 60, 58, 1) 100%);
	color: var(--white);
	text-shadow: 1px 1px 1px black;
	border-radius: 4px;
	border: 1px solid black;
	font-size: 12px;
	cursor: pointer;
	transition: .2s;
}

.tutorial-scene-prev { left: 20px;}

.tutorial-scene-next  {right: 20px;}

.tutorial-scene-prev:hover, .tutorial-scene-next:hover {
	filter: brightness(1.2);
}
