#type-board
{
    position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 56px;
	width: 56px;
	transition: left 0.2s ease,top 0.2s ease;
}
.type-board-unit
{
    left: 223px;
    top: 486px;
}
.type-board-unit:hover
{
	border: 2px solid green;
}
.type-board-order
{
    left: 223px;
    top: 449px;
}
.type-board-order:hover
{
	border: 2px solid green;
}

#rarity
{
    position: absolute;
    left: 221.1px;
    top: 672px;
	height: 27px;
}
#rarity:hover
{
	border: 2px solid green;
}

#set
{
    position: absolute;
    left: 462.4px;
    top: 667.3px;
	width: 27px;
	height: 27px;
}
#set:hover
{
	border: 2px solid green;
}

#faction-container
{
    position: absolute;
    left: 418px;
    top: 29px;
	width: 63px;
	height: 50px;
    text-align: center;
}
#faction-container:hover
{
	border: 2px solid green;
}
#faction
{
	height: 100%;
}

#main
{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	width: 500px;
	height: 702px;
}

@media (max-width: 768px) {
    #main
	{
        top: 400px;
		left: 250px;
    }
}

#picture
{
	justify-content: center;
	align-items: center;
}

#picture:hover
{
	background-color: green;
}

/* 相框容器 */
        #picture {
            aspect-ratio: 800 / 600;
            overflow: hidden;
            cursor: grab;
            touch-action: none;       /* 禁止浏览器手势，全部由js控制 */
			transition: all 0.3s ease;
        }
        #picture:active {
            cursor: grabbing;
        }
        /* 下层可移动图片 */
        #picture-img {
            position: absolute;
            top: 0;
            left: 0;
            width: auto;
            height: auto;
            transform-origin: 0 0;
            pointer-events: none;      /* 事件穿透，由容器统一处理 */
            will-change: transform;
			display: none;
			//transition: all 0.3s ease;
        }

.picture-order
{
    position: absolute;
    top: 15px;
    left: 11px;
	width: 478px;
	height: 475px;
	display: block;
}

.picture-unit
{
    position: absolute;
    top: 97px;
    left: 11px;
	width: 478px;
	height: 428px;
	display: block;
}

#body
{
    position: absolute;
    top: 0px;
    left: 0px;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

#title-body
{
    position: absolute;
	z-index: 0;
    left: 97px;
    top: 14px;
	width: 391px;
	height: 77px;
	transition: all 0.3s ease;
	background-color: #5e6965;
}

@font-face {
    font-family: 'SHSC';
    src: url('https://jsd-proxy.ygxz.in/gh/ohminecraftlauncher/ohminecraftlauncher.github.io@master/DIY/font/SourceHanSansCN-Normal.otf');
	font-weight: normal;
	font-style: normal;
}

@font-face {
    font-family: 'SHSC';
    src: url('https://jsd-proxy.ygxz.in/gh/ohminecraftlauncher/ohminecraftlauncher.github.io@master/DIY/font/SourceHanSansCN-Medium.otf');
	font-weight: bold;
	font-style: normal;
}

@font-face {
    font-family: 'SHSCB';
    src: url('https://jsd-proxy.ygxz.in/gh/ohminecraftlauncher/ohminecraftlauncher.github.io@master/DIY/font/SourceHanSansCN-Bold.otf');
	font-weight: bold;
	font-style: normal;
}

@font-face {
    font-family: 'FG';
    src: url('https://jsd-proxy.ygxz.in/gh/ohminecraftlauncher/ohminecraftlauncher.github.io@master/DIY/font/FranklinGothic-MediumCond.ttf');
	font-weight: normal;
	font-style: normal;
}

@font-face {
    font-family: 'FG';
    src: url('https://jsd-proxy.ygxz.in/gh/ohminecraftlauncher/ohminecraftlauncher.github.io@master/DIY/font/FranklinGothic-DemiCond.ttf');
	font-weight: bold;
	font-style: normal;
}

@font-face {
    font-family: 'RB';
    src: url('https://jsd-proxy.ygxz.in/gh/ohminecraftlauncher/ohminecraftlauncher.github.io@master/DIY/font/Roboto-Black.ttf');
	font-weight: bold;
	font-style: normal;
}

.text-order
{
    position: absolute;
    top: 570px;
    left: 20px;
	width: 460px;
	height: 95px;
	text-align: center;
	background-color: rgba(0,0,0,0);
	outline: none;
	border: 0;
	resize: none;
	font-family: "FG", "SHSC";
	font-size: 30px;
	color: #4c4c43;
	line-height: 1.1;
}
.text-order:hover
{
	border: 2px solid green;
}

.text-unit
{
    position: absolute;
    top: 560px;
    left: 20px;
	width: 460px;
	height: 105px;
	text-align: center;
	background-color: rgba(0,0,0,0);
	outline: none;
	border: 0;
	resize: none;
	font-family: "FG", "SHSC";
	font-size: 30px;
	color: #4c4c43;
	line-height: 1.1;
}
.text-unit:hover
{
	border: 2px solid green;
}

#b-text
{
	transition: all 0.2s ease;
}

img
{
	user-select: none;
}

.BTBtn
{
    border: none;
    border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 8px;
    background: #4a4d46;
	color: white;
}

.BTBtn:hover
{
    background: #3a3d36;
	box-shadow: 0 5px 15px rgba(74, 0, 224, 0.3);
}

#boldBtn
{
	position: absolute;
	top: 645px;
	left: 485px;
}

#IFSBtn
{
	position: absolute;
	top: 595px;
	left: 485px;
}

#DFSBtn
{
	position: absolute;
	top: 620px;
	left: 485px;
}

.TIFSBtn-unit
{
	position: absolute;
	top: 95px;
	left: 370px;
}

.TDFSBtn-unit
{
	position: absolute;
	top: 95px;
	left: 395px;
}

.TIFSBtn-order
{
	position: absolute;
	top: 515px;
	left: 485px;
}

.TDFSBtn-order
{
	position: absolute;
	top: 540px;
	left: 485px;
}

#kredit
{
	position: absolute;
	top: 3px;
	left: 17px;
	height: 95px;
	width: 45px;
	font-family: 'RB';
	font-size: 76px;
	font-weight: bold;
	color: #bfc4ae;
	outline: none;
	display: flex;
	justify-content: center;
	align-items: center;
	letter-spacing: normal;
}

#kredit:hover
{
	border: 2px solid green;
}

#opredit
{
	transition: left 0.3s ease,top 0.3s ease,font-size 0.3s ease,height 0.3s ease,width 0.3s ease;
}

.opredit-1
{
	position: absolute;
	top: 45px;
	left: 62px;
	height: 40px;
	width: 20px;
	font-family: 'RB';
	font-size: 33px;
	font-weight: bold;
	color: #bfc4ae;
	outline: none;
}

.opredit-1:hover
{
	border: 2px solid green;
}

.opredit-2
{
	position: absolute;
	top: 48px;
	left: 71px;
	height: 26px;
	width: 13px;
	font-family: 'RB';
	font-size: 19px;
	font-weight: bold;
	color: #bfc4ae;
	outline: none;
}

.opredit-2:hover
{
	border: 2px solid green;
}

#K
{
	transition: all 0.3s ease;
}

.K-1
{
	position: absolute;
	top: 25px;
	left: 62px;
}

.K-2
{
	position: absolute;
	top: 33px;
	left: 70px;
	width: 15px;
}

#title
{
	font-family: "FG", "SHSCB";
	font-weight: bold;
	transition: color 0.3s ease,top 0.3s ease,left 0.3s ease;
	outline: none;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 50px;
}

.title-unit
{
	position: absolute;
	top: 15px;
	left: 100px;
	height: 75px;
	width: 320px;
	color: #bfc6b3;
}

.title-order
{
	position: absolute;
	top: 510px;
	left: 20px;
	height: 50px;
	width: 460px;
	color: #4e4e47;
}

#title:hover
{
	border: 2px solid green;
}

        .action-btn {
            padding: 5px 10px;
            margin: 0 2px;
            border: none;
            border-radius: 3px;
            cursor: pointer;
            font-size: 14px;
			position: absolute;
        }
        
        .edit-btn {
            background-color: #2196F3;
            color: white;
			bottom: 5px;
			left: 5px;
        }
        
        .edit-btn:hover {
            background-color: #0b7dda;
        }
		
        .save-btn {
            background-color: #4CAF50;
            color: white;
			bottom: 5px;
			left: 117px;
        }
        
        .save-btn:hover {
            background-color: #228700;
        }
		
#attack
{
    position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 70px;
	width: 56px;
    left: 101px;
	color: #bfc6b3;
	font-family: 'RB';
	outline: none;
}
.attack-1
{
    top: 477px;
	font-size: 56px;
}
.attack-2
{
    top: 480px;
	font-size: 35px;
}

#attack:hover
{
	border: 2px solid green;
}

#defense
{
    position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 70px;
	width: 56px;
    left: 343px;
	color: #bfc6b3;
	font-family: 'RB';
	outline: none;
}
.defense-1
{
    top: 477px;
	font-size: 56px;
}
.defense-2
{
    top: 480px;
	font-size: 35px;
}

#defense:hover
{
	border: 2px solid green;
}