/* briannetod.ttf */
@font-face {
	font-family: "briannetod";
	src: url("fonts/briannetod.ttf");
}
/* dwarventodcraft.ttf */
@font-face {
	font-family: "dwarventodcraft";
	src: url("fonts/dwarventodcraft.ttf");
}
/* houseofterrormedium.ttf */
@font-face {
	font-family: "houseofterrormedium";
	src: url("fonts/houseofterrormedium.ttf");
}
/* pico12.ttf */
@font-face {
	font-family: "pico12";
	src: url("fonts/pico12.ttf");
}
/* continuumbold.ttf */
@font-face {
	font-family: "continuumbold";
	src: url("fonts/continuumbold.ttf");
}
* {
	font-family: "briannetod" !important;
}
[id^="sSunNum"]:not([id="sSunNum"]) {
	font-family: "pico12" !important;
	margin-right: 7px !important;
	font-size: 20px !important;
	position: relative !important;
	float: right !important;
	width: 100% !important;
	left: 0 !important;
	top: 36px !important;
}
#sSunNum {
	font-family: "continuumbold" !important;
	margin-top: -2px !important;
}
#DivTeach {
	width: 50% !important;
	left: 36% !important;
	cursor: pointer !important;
	color: #000 !important;
}
#dTitle,
#dTitle * {
	font-family: "pico12" !important;
	z-index: 999999 !important;
}
#bMainMenu {
	text-transform: uppercase;
	visibility: hidden;
	position: absolute;
	left: 770px;
	top: 20px;
	text-align: center;
	cursor: pointer;
	width: 109px;
	height: 29px;
	z-index: 201;
	line-height: 26px;
	background: url(images/interface/Almanac_BlankButton.png) no-repeat;
	background-size: cover;
	color: #000080;
	font-size: 14px;
	padding-top: 3px;
}
.span2 {
	font-family: "pico12" !important;
	margin-right: 7px !important;
	font-size: 18px !important;
	position: relative !important;
	float: right !important;
	width: 100% !important;
	left: 0 !important;
	top: 21px !important;
}
#dHandBookZCard .span1 .span2 {
	display: none !important;
}
.menu,
.OptionsMenuButtonSpan,
#dHandBookPlantName,
#dHandBookZ > div.title,
#dHandBookZombieName,
#dNewPlantTitle {
	font-family: "dwarventodcraft" !important;
}
.hidden {
	display: none;
}
#dNewPlantTitle {
	font-size: 30px !important;
	margin-top: 6px;
	/* case uppercase */
	text-transform: uppercase;
	color: #d0932b !important;
}
#dHandBookZombieName {
	color: #06bd00 !important;
	text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.1),
		-1px -1.5px 0px rgba(0, 0, 0, 0.7) !important;

	/* text-shadow: #2e293e -1px -2px, #2e293e -2px 0px, #37354b 1px -2px,
        #757692 2px 0px, #757692 1px 2px, #757692 2px 2px !important; */
	font-size: x-large !important;
	/* -webkit-text-stroke: 0.2px rgb(0 0 0 / 27%) !important; */
	margin-left: -10px !important;
	margin-top: 4px;
}
#btnNextLevel {
	text-shadow: 0px 0px 3px #000, 0px 0px 3px #000;
	/* box-shadow: inset #ffffff24 1px 2px 2px, inset #00000021 0px -1px 4px 0px, #0000007a 1px 2px 6px -1px; */
	/* border-radius: 3px; */
	border-left: 0 !important;
	border-right: 0 !important;
	border-top: 0 !important;
	border-bottom: 0 !important;
	background: url("images/SeedChooser_Button.png") no-repeat !important;
	background-size: contain !important;
	font-family: dwarventodcraft !important;
	color: #d0932b !important;
	font-size: 18px !important;
	width: 150px !important;
	margin-left: -25px !important;
}
#dNewPlantName {
	color: #d0932b !important;
	font-family: dwarventodcraft !important;
	text-transform: uppercase;
	text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.1),
		-1px -1.5px 0px rgba(0, 0, 0, 0.7) !important;

	/* text-shadow: #2e293e -1px -2px, #2e293e -2px 0px, #37354b 1px -2px,
        #757692 2px 0px, #757692 1px 2px, #757692 2px 2px !important; */
	-webkit-text-stroke: 0.2px rgb(0 0 0 / 27%) !important;
	margin-top: -23px;
}
#iNewPlantCard {
	height: calc(120px / 2) !important;
	object-fit: cover;
	object-position: center top;
	margin-top: 60px;
}
#dNewPlantTooltip {
	font-size: 19px !important;
	margin-top: -14px;
	color: #000080 !important;
	/* unbold */
	font-weight: normal !important;
}
#dHandBookPlantName {
	color: #d0932b !important;
	text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.1),
		-1px -1.5px 0px rgba(0, 0, 0, 0.7) !important;

	/* text-shadow: #2e293e -1px -2px, #2e293e -2px 0px, #37354b 1px -2px,
        #757692 2px 0px, #757692 1px 2px, #757692 2px 2px !important; */
	font-size: x-large !important;
	-webkit-text-stroke: 0.2px rgb(0 0 0 / 27%) !important;
	margin-left: -10px !important;
	margin-top: -4px;
}
#dHandBookP > div.title,
#dHandBook > div.title,
#dMiniSmallTitle,
#dAdvSmallTitle,
#dChoseTitle {
	margin-top: -6px;
	font-size: 30px;
	-webkit-text-stroke: 1px #ceaa31;
	font-weight: lighter;
	text-shadow: 0px 3px 0px #000, 1px 3px 0px #000, 2px 3px 0px #000,
		3px 3px 0px #000, 3px 2px 0px #000, 3px 1px 0px #000, 3px 0px 0px #000,
		3px -1px 0px #000, 3px -2px 0px #000, 3px -3px 0px #000,
		2px -1px 0px #000, 2px -2px 0px #000, 2px -3px 0px #000,
		1px -1px 0px #000, 1px -2px 0px #000, 1px -3px 0px #000,
		0px -1px 0px #000, 0px -2px 0px #000, 0px -3px 0px #000,
		-1px -1px 0px #000, -1px -2px 0px #000, -1px -3px 0px #000,
		-2px -1px 0px #000, -2px -2px 0px #000, -2px -3px 0px #000,
		-3px -1px 0px #000, -3px -2px 0px #000, -3px -3px 0px #000,
		-3px 0px 0px #000, -3px 1px 0px #000, -3px 2px 0px #000,
		-3px 3px 0px #000, 2px 5px 0px #000, 3px 5px 0px #000, 4px 5px 0px #000,
		5px 5px 0px #000, 5px 4px 0px #000, 5px 3px 0px #000, 5px 2px 0px #000,
		5px 1px 0px #000, 5px 0px 0px #000, 5px -1px 0px #000, 4px 1px 0px #000,
		4px 0px 0px #000, 4px -1px 0px #000, 3px 1px 0px #000, 3px 0px 0px #000,
		3px -1px 0px #000, 2px 1px 0px #000, 2px 0px 0px #000, 2px -1px 0px #000,
		1px 1px 0px #000, 1px 0px 0px #000, 1px -1px 0px #000, 0px 1px 0px #000,
		0px 0px 0px #000, 0px -1px 0px #000, -1px 1px 0px #000,
		-1px -0px 0px #000, -1px -1px 0px #000, -1px 2px 0px #000,
		-1px 3px 0px #000, -1px 4px 0px #000, -1px 5px 0px #000;
}
#dHandBook > div.title,
#dMiniSmallTitle,
#dAdvSmallTitle,
#dChoseTitle {
	color: #dfdfdf;
	font-family: "houseofterrormedium" !important;
	-webkit-text-stroke: 1px #cacaca;
	margin-top: 1px;
	font-weight: lighter !important;
}
#dAdvSmallTitle {
	margin-left: -50px;
	margin-top: 4px;
}
#dHandBookZ > div.title,
#dNewPlantTitle {
	text-shadow: 0px 0px 3px #000, 0px 0px 3px #000;
	color: #00d100;
	font-size: 35px;
}
.menu {
	font-weight: normal !important;
	font-size: 1.35em;
}
body {
	min-width: 780px;
	min-height: 530px;
}
label {
	color: white !important;
}
#sFlagMeterTitleF,
#dHandBookP > div.title {
	font-family: "houseofterrormedium" !important;
}
#sFlagMeterTitleB {
	display: none;
}
#sFlagMeterTitleF {
	color: #e5bf64 !important;
	text-shadow: 0px 2px 0px #000000, 2px 2px 0px #000000, 2px 0px 0px #000000,
		2px -2px 0px #000000, 0px -2px 0px #000000, -2px -2px 0px #000000,
		-2px 0px 0px #000000, -2px 2px 0px #000000 !important;
}

#iSurfaceBackground .trophy {
	position: absolute;
	background: url(images/interface/trophy.png) no-repeat;
	background-size: contain !important;
	left: 469px;
	top: 468px;
	width: 99px;
	height: 99px;
	cursor: pointer;
}

#iSurfaceBackground .trophy:hover {
	filter: brightness(1.1);
}

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

td {
	padding-top: 16px !important;
}

#dMini0 > table > tbody > tr:nth-child(2) td {
	padding-top: 17px !important;
}
@keyframes wallnutSpin {
	0% {
		rotate: 0deg;
		transform: translate(0px, 0px);
	}
	8.33% {
		rotate: 25deg;
		transform: translate(0px, -1px);
	}
	16.67% {
		rotate: 55deg;
		transform: translate(2px, 0px);
	}
	25% {
		rotate: 90deg;
		transform: translate(4px, 0px);
	}
	33.33% {
		rotate: 120deg;
		transform: translate(4px, 0px);
	}
	41.67% {
		rotate: 150deg;
		transform: translate(0px, 0px);
	}
	50% {
		rotate: 180deg;
		transform: translate(0px, 2px);
	}
	58.33% {
		rotate: 210deg;
		transform: translate(1px, 0px);
	}
	66.67% {
		rotate: 235deg;
		transform: translate(-2px, -2px);
	}
	75% {
		rotate: 270deg;
		transform: translate(-6px, 0px);
	}
	83.33% {
		rotate: 305deg;
		transform: translate(-3px, -1px);
	}
	91.67% {
		rotate: 330deg;
		transform: translate(-2px, -1px);
	}
	100% {
		rotate: 360deg;
		transform: translate(0px, 0px);
	}
}

@keyframes hugeWallnutSpin {
	0% {
		rotate: 0deg;
		transform: translate(0px, 0px);
	}
	8.33% {
		rotate: 25deg;
		transform: translate(-1px, -2px);
	}
	16.67% {
		rotate: 55deg;
		transform: translate(2px, 2px);
	}
	25% {
		rotate: 90deg;
		transform: translate(11px, 0px);
	}
	33.33% {
		rotate: 120deg;
		transform: translate(9px, -6px);
	}
	41.67% {
		rotate: 150deg;
		transform: translate(3px, -4px);
	}
	50% {
		rotate: 180deg;
		transform: translate(0px, 0px);
	}
	58.33% {
		rotate: 210deg;
		transform: translate(-1px, -2px);
	}
	66.67% {
		rotate: 235deg;
		transform: translate(-5px, -4px);
	}
	75% {
		rotate: 270deg;
		transform: translate(-11px, 0px);
	}
	83.33% {
		rotate: 305deg;
		transform: translate(-3px, 4px);
	}
	91.67% {
		rotate: 330deg;
		transform: translate(0px, 1px);
	}
	100% {
		rotate: 360deg;
		transform: translate(0px, 0px);
	}
}

@keyframes threepeaterDown { /* threepeaterDown 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards */
	0% {
		transform: translateY(0px);
	}
	100% {
		transform: translateY(100px);
	}
}
@keyframes threepeaterUp { /* threepeaterUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards */
	0% {
		transform: translateY(0px);
	}
	100% {
		transform: translateY(-100px);
	}
}

#dZombieFail .list div {
	position: relative;
	width: 100%;
}

#dZombieFail .button {
	position: absolute;
	cursor: pointer;
	top: 410px;
	font-family: 宋体;
	color: #f93;
	font-size: 24px;
	font-weight: 700;
}

#dZombieFail .button {
	left: 150px;
	top: 404px;
}

#dZombieFailAD {
	left: 0;
	height: 100%;
}

#dZombieFail {
	position: absolute;
	left: 233px;
	top: 20px;
	width: 434px;
	display: none;
	font-weight: bold;
}

#dZombieFail .list {
	position: absolute;
	left: 0;
	top: 90px;
	z-index: 200;
	width: 100%;
	text-align: center;
}

#dZombieFail .list .hidden {
	cursor: pointer;
	height: 20px;
	color: #f93;
	font-size: 16px;
	line-height: 20px;
}

#dZombieFail .list .pause {
	color: #000;
	font-size: 18px;
	line-height: 30px;
}

#imgSF {
	z-index: 9999 !important;
}

#sSunNum {
	top: 50% !important;
	transform: translateY(-50%) !important;
}

#stolen-warning {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 999999;
    display: none;
    justify-content: center;
    align-items: center;
}

.stolen-warning-content {
    background: #fff;
    padding: 2em;
    border-radius: 20px;
    text-align: center;
    max-width: 80%;
    border: 8px solid #ff9800; /* Changed from red to orange to be less alarming */
    box-shadow: 0 0 50px rgba(255,152,0,0.3); /* Changed from red to orange */
}

.stolen-warning-content h2 {
    color: #ff9800; /* Changed from red to orange */
    margin-top: 0;
    font-size: 2.5em;
    margin-bottom: 0.5em;
}

.stolen-warning-content a {
    display: inline-block;
    color: #0066cc;
    font-size: 1.4em;
    margin: 1em 0;
    text-decoration: none;
    font-weight: bold;
}

.stolen-warning-content .big-button {
	font-family: 'dwarventodcraft' !important;
    background: #4CAF50;
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.5em;
    margin: 20px 0;
    display: block;
    transition: transform 0.2s;
}

.stolen-warning-content .big-button:hover {
    transform: scale(1.05);
    background: #45a049;
}

.stolen-warning-content .small-button {
    background: #666;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 0.9em;
    opacity: 0.7;
}

.stolen-warning-content .small-button:hover {
    opacity: 1;
}

.stolen-warning-content .note-box {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    margin: 15px 0;
}
