/* The PvP IV Rank Checker's own styles (ivrank.php), copied from style.css so the page keeps its look
   under the new header without loading the whole old stylesheet. */
body.pg-iv-rank #particles-js {position:absolute; 
	width: 80%; 
	height: 250%; 
	background-color: transparent; 
	background-image: url(""); 
	background-repeat: no-repeat; 
	background-size: cover; 
	background-position: 50% 50%; 
	top: -107%; 
	left: 10%;
	transition: opacity 2s ease-in-out}
#rank-checker {padding: 1rem;
	margin-top: 8rem;
	width: 960px;
	max-width: 94%;
	background: #262c37;
	min-height: 100vh;
	border-radius: 16px}
@media (min-width: 1400px) {
	#rank-checker {width: 1150px; 
		padding: 2rem}
}
#rank-checker .select-pokemon {min-width: 100%;
    margin-bottom: 1rem;
    background: #ffffff;
    padding: 1.5rem;
    margin: 0 0 0.75rem 0;
    border-radius: 0 0 8px 8px;
	position: relative; 
	z-index: 1;}
#rank-checker .selected-pokemon .thumb {background: #222731;
	max-height: 150px}
#rank-checker .select-league {min-width: 100%;
    margin-bottom: 1rem;
    background: #ffffff;
    padding: 0.25rem;
    margin: 0 0 0 0;
    border-radius: 8px 8px 0 0;
	position: relative; 
	z-index: 1;
	display: flex;
	border-bottom: 1px solid #ededed;}
#rank-checker .select-league .league {border: 2px solid #eee;
	border-radius: 8px;
	display: flex;
	align-items: center;
	min-width: calc(33.3% - 10px);
	margin: 5px;
	padding: 0.5rem 1rem;
	text-align: center;
	background: #eee;
	cursor: pointer;
	opacity: 0.95}
#rank-checker .select-league .league span {margin-right: 8px;
	text-align: right;
	flex: 1;
	font-size: 1.1rem;
	font-weight: 600}
#rank-checker .select-league .league span i {display: block;
	font-size: 0.8em;
	color: #999;}
#rank-checker .select-league .league span b {font-weight: 700}
#rank-checker .select-league .league.active,
#rank-checker .select-league .league:hover {background: #363f4f;
	color: #fff;
	opacity: 1}
#rank-checker .select-league .league.active {background: #212a3d;
	position: relative;}
#rank-checker .select-league .league.active:after {content: '';
	width: 14px;
	height: 14px;
	background: #212a3d;
	display: block;
	position: absolute;
	bottom: -6px;
	left: 50%;
	margin-left: -7px;
	transform: rotate(45deg);
	border-radius: 2px;}
#rank-checker .select-league img {width: 44px;}
#rank-checker .select-league h6 {display: inline-block;
	margin: 0;
	font-size: 1.3rem;
	margin-left: 1rem;
	font-weight: 600}
#rank-checker .league.rank1 span,
#rank-checker .league.top10 span,
#rank-checker .league.top100 span,
#rank-checker .league.top250 span {border-radius: 21px;
    padding: 5px 1rem;
    margin-left: 2rem;
    text-align: center;
    border: 3px solid #fff;}
#rank-checker .league.rank1 span i,
#rank-checker .league.top10 span i,
#rank-checker .league.top100 span i,
#rank-checker .league.top250 span i {display: none !important}
#rank-checker .league.active.rank1 span,
#rank-checker .league.active.top10 span,
#rank-checker .league.active.top100 span,
#rank-checker .league.active.top250 span,
#rank-checker .league.rank1:hover span,
#rank-checker .league.top10:hover span,
#rank-checker .league.top100:hover span,
#rank-checker .league.top250:hover span {border-color: #2d3240 !important;
    color: #222632;
	position: relative;
    z-index: 2;}
#rank-checker #your-rank .your-rank-stats.rank1 {background: #ffe116}
#rank-checker #your-rank .your-rank-stats.top10 {background: linear-gradient(191deg, #4dc154, #3bb886)}
#rank-checker .league.rank1 span {background: #ffe116}
#rank-checker .league.rank1 {background: #fff0a6;}
#rank-checker .league.top10 span {background: linear-gradient(191deg, #4dc154, #3bb886);}
#rank-checker .league.top100 span {background: #c28fff}
#rank-checker .league.top250 span {background: #66bbff}
#rank-checker #your-rank .your-rank-stats.top100 {background: linear-gradient(45deg, #c28fff, #8d4dff)}
#rank-checker #your-rank .your-rank-stats.top250 {background: linear-gradient(365deg, #2196F3, #00c8ff)}
#rank-checker-control-group {display: flex;
	padding: 0;
	border-radius: 8px;
	flex-wrap: wrap;}
#rank-checker .ranking-pokemon {width: 100%;
    text-align: right;
	position: relative;}
#rank-checker .ranking-pokemon img.p_img {width: auto;
    max-width: none;
    height: 350px;
	position: relative;
	z-index: 2;
	top: -70px;
	filter: drop-shadow(0px 12px 4px rgb(0 0 0 / 30%));}
@media (min-width: 1600px) {
	#rank-checker .ranking-pokemon img.p_img {height: 450px;
		top: -130px}
}
#rank-checker .ranking-pokemon .thumb {text-align: center;
    max-height: 250px;
	position: relative}
#rank-checker .ranking-pokemon h4 {position: absolute;
    color: #fff;
    width: 100%;
    text-align: left;
    font-size: 3.5rem;
    letter-spacing: -0.075rem;
    top: 0;
    margin: 0;
    opacity: 1;
    padding-left: 2rem;
    line-height: 230px;
    font-weight: 600;
	pointer-events: none;}
#rank-checker .ranking-pokemon h4 b {position: absolute;
    font-size: 0.3em;
    text-transform: uppercase;
    top: -35px;
    letter-spacing: 4px;
    padding-left: 2px;
    color: #788299;}
#rank-checker .ranking-pokemon h4 b.mega {color: #E91E63;}
#rank-checker #appraisal {width: 150px;
    height: 150px;
    background: url(/assets/images/appraisal/appraisal-bg.png);
    display: block;
    background-size: 100%;
    position: absolute;
    right: 4%;
    bottom: 23%;
    transform: rotate(-25deg) scale(1.1);}
#rank-checker #appraisal .starbg {width: 100%;
	height: 100%; 
	display: block;
	background: url('/assets/images/appraisal/appraisal-0star.png');
	background-size: 70%;
	background-repeat: no-repeat;
	background-position: 23px 57px;
	filter: contrast(0.6);
	position: absolute;
	top: 0;
	left: 0}
#rank-checker #appraisal .stars {position: absolute;
	 top: 59px;
    left: 24px;
	z-index: 1}
#rank-checker #appraisal .stars img {width: 34px;
	position: relative;
	opacity: 0;
	transition: opacity .2s ease-in-out}
#rank-checker #appraisal .stars img:nth-child(1) {left: 0;}
#rank-checker #appraisal .stars img:nth-child(2) {left: -3px;}
#rank-checker #appraisal .stars img:nth-child(3) {left: -5px;}
#rank-checker .ranking-pokemon.star-1 #appraisal .stars img.s1 {opacity: 1;}
#rank-checker .ranking-pokemon.star-2 #appraisal .stars img.s1,
#rank-checker .ranking-pokemon.star-2 #appraisal .stars img.s2 {opacity: 1;}
#rank-checker .ranking-pokemon.star-3 #appraisal .stars img.s1,
#rank-checker .ranking-pokemon.star-3 #appraisal .stars img.s2,
#rank-checker .ranking-pokemon.star-3 #appraisal .stars img.s3 {opacity: 1;}
#rank-checker .ranking-pokemon.perfect #appraisal .stars img.s1,
#rank-checker .ranking-pokemon.perfect #appraisal .stars img.s2,
#rank-checker .ranking-pokemon.perfect #appraisal .stars img.s3 {opacity: 1;}
#rank-checker .ranking-pokemon.perfect #appraisal {background-image: url('/assets/images/appraisal/appraisal-perfect-bg.png');}
#rank-checker .ranking-pokemon.perfect #appraisal .starbg,
#rank-checker .ranking-pokemon.star-3 #appraisal .starbg {background-image: none;}
#rank-checker .controls {min-width: 100%;
	margin-bottom: 0.75rem;
	background: #ffffff;
	padding: 1rem 1rem;
	border-radius: 8px;
	position: relative;
	z-index: 1}
#rank-checker .rank-input-options {display: flex;
	flex-wrap: wrap;}
#rank-checker .rank-input-options .input-option {width: calc(33% - 2rem);
	margin: 1rem;
	margin-bottom: 0.25rem}
#rank-checker .rank-input-options .input-option-full {min-width: calc(100% - 2.5rem);}
#rank-checker label {font-size: 1.2rem;
	color: #e89421;
	font-weight: 600;
	display: block;
	margin-bottom: 0.5rem}
#rank-checker .rank-input-options select {width: 100%; 
	padding: 0.5rem 1rem;
	font-size: 1.5rem;
  appearance: none; 
  -webkit-appearance: none;}
#rank-checker input[type="text"] {width: 100%; 
	padding: 0.5rem 1rem;
	font-size: 1.5rem}
#your-rank {min-width: 100%;
	margin-bottom: 0.75rem;
	padding: 0;
	overflow: hidden}
#your-rank .your-rank-stats {display: flex;
	border-radius: 0 0 8px 8px;
	background: #dde0e9;}
#your-rank .your-rank-stats .nl {opacity: 0.3;
	font-weight: 300;
	font-size: 1rem}
#your-rank .your-rank-stats>div {flex: 1;
	padding: 1.25rem 1.25rem 1.75rem 1.25rem}
#your-rank .your-rank-stats .yr-rank {min-width: 21%;
	text-align: right;
	text-align: center}
#your-rank .your-rank-stats .yr-ivs {border-radius: 8px 0 0 8px; padding-left: 2rem}
#your-rank .your-rank-stats .yr-sp {border-radius: 0 0px 8px 0;}
#your-rank .your-rank-stats .yr-ivs,
#your-rank .your-rank-stats .yr-cp,
#your-rank .your-rank-stats .yr-lvl,
#your-rank .your-rank-stats .yr-sp {background: #fff;}
#your-rank .your-rank-stats .yr-rank span,
#your-rank .your-rank-stats .yr-rank label {color: #14161b;}
#your-rank .your-rank-stats .yr-rank small {position: relative; 
	top: -8px;
	font-size: 0.4em;
	margin-right: 2px;
	font-weight: 800;}
#your-rank .your-rank-stats .yr-ivs {min-width: 23%}
#your-rank .your-rank-stats .yr-sp {min-width: 26%;
	text-align: right;
	padding-right: 2rem}
#your-rank .your-rank-stats .yr-cp {min-width: 17%;}
#your-rank .your-rank-stats label {font-size: 1.1rem;
	margin-bottom: 0rem;
	line-height: 1rem;
	display: block;
	text-transform: uppercase;
	font-weight: 700}
#your-rank .your-rank-stats span {font-size: 1.55rem;
	font-weight: 600;
	display: block;
	line-height: 1rem;
	margin-top: 13px}
#your-rank .your-rank-stats .yr-rank span {font-size: 2rem;
	font-weight: 700}
#rank-result table {width: 100%}
#rank-checker .rank-input-options .input-option .iv-meter {width: 100%; 
	height: 13px;
	background: #e3e1e3;
	border-radius: 18px;
	overflow: hidden;
	position: relative;
	margin-bottom: 1rem}
#rank-checker .rank-input-options .input-option .iv-meter .fill {background: #e89421;
	width: 25%;
	height: 100%; 
	border-radius: 18px;}
#rank-checker .rank-input-options .input-option .iv-meter span {height: 14px;
	width: 3px; 
	background: #fff;
	position: absolute;
	display: block;
	margin-left: -1px;}
.rank-input-options .input-option .iv-meter span:nth-child(1) {left: 33%;}
.rank-input-options .input-option .iv-meter span:nth-child(2) {left: 66%;}
#rank-result,#trainer-result {display: flex;
	background: #363f4f;
	padding: 0;
	border-radius: 8px;
	margin-bottom: 1rem;
	text-align: left;
	overflow: hidden;}
#trainer-result {display: none !important}
#rank-checker table {text-align: left;
	border-collapse: collapse;
	width: 100%; 
	color: #fff}
#rank-checker table thead th {text-transform: uppercase;
	font-size: 1rem;
	font-weight: 600;
	background: rgba(0,0,0,0.2);
	letter-spacing: 0.05rem;}
#rank-checker table th,
#rank-checker table td {padding: 10px;}
#rank-checker table td {letter-spacing: 0.05rem;
	font-size: 1.3rem;
	font-weight: 600}
#rank-checker table tbody tr:nth-child(even) td {background: rgba(0,0,0,0.1);}
#rank-checker table th:nth-child(1),
#rank-checker table td:nth-child(1) {width: 5%;
	padding-left: 2rem;}
#rank-checker table th:nth-child(2),
#rank-checker table td:nth-child(2) {width: 20%;}
#rank-checker table th:nth-child(3),
#rank-checker table td:nth-child(3) {width: 18%;}
#rank-checker table th:nth-child(4),
#rank-checker table td:nth-child(4) {width: 10%;}
#rank-checker table th:nth-child(5),
#rank-checker table td:nth-child(5) {width: 15%;
	text-align: right;
	padding-right: 1.5rem}
#rank-checker table th:nth-child(6),
#rank-checker table td:nth-child(6) {width: 15%;
	text-align: right;
	padding-right: 1.5rem}
#rank-checker .controls button {background: orange;
    border: none;
    width: 100%;
    line-height: 4rem;
    border-radius: 8px;
    margin-top: 1rem;
	color: #fff;
	font-weight: 500;
	font-size: 1.25rem;
	opacity: 0.8;}
body.loading #rank-checker .controls button {opacity: 0.5}
#rank-checker .controls button:hover {opacity: 1}
#rank-checker #loader {transform: scale(1);
	background: #393f4e;
	border-radius: 10px}
#rank-checker #loader h6 {bottom: 0}
#rank-checker #loader .loader-container {transform: scale(0.7);
	position: relative;
	top: -20px}
@media (max-width: 768px) {
	body.pg-iv-rank #particles-js {width: 100vw;
		left: -6%;}
	#rank-checker {margin-top: 7rem}
	#rank-checker .select-pokemon {padding-top: 1rem}
	#rank-checker table th:nth-child(6),
	#rank-checker table td:nth-child(6) {display: none}
	#rank-checker .ranking-pokemon {width: 100%}
	#rank-checker .controls {min-width: 100%;
		margin-bottom: 0.75rem;
		background: #ffffff;
		padding: 0.75rem 1.5rem 0.75rem 1.5rem;
		border-radius: 8px}
	#rank-checker .rank-input-options {width: 100%}
	#rank-checker .rank-input-options .input-option {width: calc(33.33% - 7px) !important;
		margin: 5px;}
	#rank-checker .input-option.atkiv {margin-left: 0}
	#rank-checker .input-option.staiv {margin-right: 0}
	#rank-checker .ranking-pokemon .thumb {max-height: 150px;
		top: 10px !important;
		text-align: center;
		left: 0; right: 0;}
	#rank-checker .ranking-pokemon img.p_img {height: 240px;
		max-width: 100%;
		width: auto;
		filter: drop-shadow(0px 12px 4px rgb(0 0 0 / 30%));
		z-index: 10;}
	#rank-checker #appraisal {right: -35px;
		left: auto;
		transform: rotate(-25deg) scale(0.5);
		top: -35px;
		z-index: 5;}
	#rank-checker .rank-input-options .input-option .iv-meter {height: 9px}
	#rank-checker .rank-input-options .input-option .iv-meter span {width: 1.5px}
	#rank-checker .ranking-pokemon h4 {font-size: 2.25rem;
		top: -33px;
		z-index:11;
		left: 0px;
		white-space: nowrap;
		color: #fff;
		overflow: hidden;
		max-width: 100%;
		opacity: 1;
		text-shadow: 2px 2px 5px rgb(0 0 0 / 40%);
		letter-spacing: 0px;
		padding-left: 1rem;}
	#rank-checker .ranking-pokemon h4 b {position: absolute;
		font-size: 0.4em;
		text-transform: uppercase;
		top: -20px;
		letter-spacing: 2px;
		padding-left: 2px;
		color: #E91E63;
		text-shadow: none;}
	#rank-checker .controls button {line-height: 5rem;
		font-size: 1.5rem;
		font-weight: 600}
	#rank-checker .select-league .league {flex-wrap: wrap}
	#rank-checker .select-league .league img {width: 18px}
	#rank-checker .select-league .league span {min-width: 90%;
		text-align: center;
		margin-right: 0px;
		font-size: 1.4rem;
		font-weight: 500}
	#rank-checker .select-league .league span i {display: inline-block;
		margin-left: 3px;
		display: none;}
	#rank-checker .league.rank1 span,
	#rank-checker .league.top10 span,
	#rank-checker .league.top100 span,
	#rank-checker .league.top250 span {width: 100%;
		margin-left: 0px;
		padding: 1px 0;
		border-width: 0px;
		box-shadow: 0px 8px 8px rgb(0 0 0 / 0%)}
	#rank-checker .select-league .league {justify-content: center}
	#rank-checker .select-league .league img {margin-left: -4px}
	#rank-checker .select-league h6 {font-size: 1.5rem;
		margin-left: 4px}
	#rank-checker .select-league .league {border: none}
	#rank-checker .select-league .league span {line-height: 19px;}
	#your-rank .your-rank-stats {overflow: hidden}
	#your-rank .your-rank-stats span {font-size: 1.45rem}
}
body.pg-iv-rank #particles-js .particles-js-canvas-el {-ms-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
    -webkit-animation: appear 1.4s 1;
    animation: appear 1.4s 1;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;}
#pokemon-family-container {width: 100%;
    background: #393c4a;
    border-radius: 8px;
    margin-bottom: 0.75rem;
	display: none;
	overflow: hidden;
	position: relative;
	z-index: 6}
#pokemon-family-container label {padding: 1rem 0 0.5rem 1.5rem}
#pokemon-family {display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
	flex-wrap: wrap}
.family-pokemon {display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
	padding: 0 5px;}
.family-pokemon:hover,
.family-pokemon.active {background: rgba(0,0,0,0.3);}
.family-pokemon:last-child {border: none}
.family-pokemon img {width: 64px;
	padding: 4px;}
@media (max-width: 600px) {
	#pokemon-family {padding: 0 1.5rem 0.75rem 1.5rem}
	.family-pokemon img {width: 54px;}
	.family-pokemon {border-radius: 6px;}
}
#mode-select {display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    overflow: hidden;
    margin: 0 1rem;}
@media (max-width: 600px) {
	#mode-select {margin: 0.25rem 0 0.75rem 0;}
}
#mode-select span {background: #efefef;
    padding: 0 3rem;
    line-height: 2.5rem;
    font-weight: 500;
    flex: 1;
    text-align: center;
	cursor: pointer}
#mode-select span.active,
#mode-select span:hover {background: #e89421;
	background: linear-gradient(45deg, #e89421, #ffc88a);
    background-size: 200%;
	color: #fff;
	font-weight: 600}
#normal-mode-button {border-radius: 4px 0 0 4px;
    border-right: 1px solid #ddd;}
#express-mode-controls {display: none;
	padding-top: 1rem}
.express-control-group {display: flex;
	margin: 0 1rem;
	align-items: center;}
.express-control-group .label {min-width: 50px;}
.express-control-group label {font-size: 1rem;}
.express-control-group .options {display: flex;
	flex: 1;
	align-items: center;
	justify-content: center}
.express-control-group .options span {font-weight: 600;
	font-size: 1.65rem;
	cursor: pointer;}
.express-control-group .options span {min-width: calc(6.25% - 4px);
	max-width: calc(6.25% - 4px);
	background: #efefef;
	border-radius: 4px;
	text-align: center;
	margin: 2px;
	padding: 0.85rem 0;}
.express-control-group .options span.active {color: #fff;
    background: #ffa01e;}
@media (max-width: 600px) {
	.express-control-group {margin: 0 0 1rem 0}
	.express-control-group .label {min-width: 32px;}
	.express-control-group .options {flex-wrap: wrap}
	.express-control-group .options span {min-width: calc(12.5% - 4px);
		max-width: calc(12.5% - 4px)}
}
.maxlvl-selector {display: flex;
    justify-content: center;
    align-items: center;
	margin: 5px 0}
.maxlvl-selector input {margin-right: 0.5rem}
.maxlvl-selector label {margin: 0 !important;
	font-size: 1.1rem !important;
	font-weight: 500 !important;
	color: #333 !important}
.get-pokemon-onload .p_img {visibility: hidden}
body.pg-team-go-rocket #particles-js,
body.pg-team-go-rocket #particles-js-takeover {position: fixed;  
	width: 120vw; 
	height: 250vh; 
	background-color: transparent; 
	background-image: url(""); 
	background-repeat: no-repeat; 
	background-size: cover; 
	background-position: 50% 50%; 
	inset: 0;
	left: -10vw;
	z-index: 0;
	animation: fadeInGoRocketBalloons 4s linear;
	opacity: 0.5}
.ui-autocomplete {border-radius: 8px;
	background: #2c2c37 !important;
	box-shadow: 0 0 20px rgba(0,0,0,0.25);
	padding: 0.5rem 0;
	max-width: 80%; 
	border: none !important}
.ui-autocomplete li {margin: 6px !important;}
.ui-autocomplete li div {font-weight: 500;
	border-radius: 8px;
	padding: 0.9rem 1rem !important;
	background: #464653;
	margin: 6px !important;
	border-radius: 8px;
	color: #fff;
	font-size: 1rem;
	overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;}
#loader {display: none;
  width: 100%;}
.loader-container {width: 100%; 
  height: 200px;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;}
.loader-container h6 {position: absolute;
	bottom: -20px; 
	color: #666;
	font-size: 1.4rem;
	margin: 0;
	font-weight: 500}
.loader-container .loader {box-sizing: initial !important}
.loader {position: relative;
  height: 100px;
  width: 100px;
  background: linear-gradient(to bottom, #ee3f4a 50%, white 50% );
  border-radius: 50%;
  border: 6px solid black;
  animation: shake 1.25s cubic-bezier(.36,.07,.19,.97) infinite}
.loader::before {content: '';
  position: absolute;
  height: 6px;
  width: 100px;
  background: black;
  top: 50px;
  transform: translatey(-50%);}
.loader::after {content: '';
  position: absolute;
  height: 38px;
  width: 38px;
  border-radius: 50%;
  background: white;
  top: 50px;
  left: 50px;
  transform: translate(-50%, -50%);
  box-shadow: inset 0 0 0 6px black, inset 0 0 0 10px white,
    inset 0 0 0 12px black;}
@media (max-width: 940px) {
	#loader {transform: scale(0.5)}
	.ui-autocomplete {padding: 0.25rem !important}
	.ui-autocomplete li {margin-left: 0 !important; margin-right: 0 !important;}
	.ui-autocomplete li div {font-size: 1.3rem !important}
	.ui-autocomplete li {font-size: 1.5rem}
}
@keyframes shake {0 { transform: translate(0, 0) rotate(0); }
    20% { transform: translate(-10px, 0) rotate(-20deg); }
    30% { transform: translate(10px, 0) rotate(20deg); }
    50% { transform: translate(-10px, 0) rotate(-10deg); }
    60% { transform: translate(10px, 0) rotate(10deg); }
    100% { transform: translate(0, 0) rotate(0); }}
@keyframes appear {0% {
        -ms-transform: scale(0);
        -webkit-transform: scale(0);
        transform: scale(0);
        opacity: 0;
    }
    100% {
        -ms-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }}
@keyframes fadeInGoRocketBalloons {from {
		opacity: 0;
	}
	to {
		opacity: 0.5;
	}}

/* The page around the checker (what the old header, footer and style.css gave every page) */
body.pg-iv-rank { padding-top: 95px; background-color: #13161b; background-image: url(/assets/images/bgtexture.png); background-repeat: repeat; background-size: 500px; overflow-x: hidden }
#rank-checker.fw-page { position: relative; z-index: 1; margin-left: auto; margin-right: auto; margin-bottom: 60px }   /* (the rest of its box: #rank-checker above) */
#rank-checker h4, #rank-checker h6, #rank-checker table { font-family: inherit }
@media (max-width: 768px) {
	body.pg-iv-rank { padding-top: 72px }
}
/* The old site's text scale (style.css): the checker's sizes are in rem, so they follow it. Only on this page;
   the new header and footer use fixed sizes. */
html { font-size: 11px }
@media (max-width: 500px) { html { font-size: 10px } }
@media (min-width: 600px) { html { font-size: 11px } }
@media (min-width: 800px) { html { font-size: 12px } }
@media (min-width: 1600px) { html { font-size: 13px } }
@media (min-width: 1920px) { html { font-size: 14px } }
@media (min-width: 2500px) { html { font-size: 15px } }
#rank-checker { font-size: 1rem; line-height: normal }
/* Pictures as the old site had them (browser defaults): the new design's base styles make every picture a full-width
   block, which broke the centering of the Pokémon. */
#rank-checker img { display: inline; max-width: none }
/* Form fields as the old site had them (style.css), at the lowest priority so the page's own rules still win */
:where(#rank-checker) :where(button, input, optgroup, select, textarea) { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0 }
:where(#rank-checker) :where(input, select) { outline: none }
:where(#rank-checker) :where(input[type="text"], select, textarea) { border-radius: 8px; border: 1px solid #ccc }