@charset "UTF-8";@font-face {src: url("https://www.pocketmortys.net/fonts/PocketMortys.eot"); src: url("https://www.pocketmortys.net/fonts/PocketMortys.eot#iefix") format("embedded-opentype"),
        /* IE6-IE8 */ url("https://www.pocketmortys.net/fonts/PocketMortys.woff2") format("woff2"),
        /* Super Modern Browsers */ url("https://www.pocketmortys.net/fonts/PocketMortys.woff")
            format("woff"),
        /* Pretty Modern Browsers */ url("https://www.pocketmortys.net/fonts/PocketMortys.ttf")
            format("truetype"); font-family: "PocketMortys"; font-display: swap}

.calculator-toggle {
    font-size: 12px;
    color: var(--blue-links);
    line-height: 39px;
    vertical-align: top;
    margin-left: 8px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    display: inline-block;
}

#calculator label:not(.btn) {
    display: inline-flex;
    align-items: center;
    margin: 0 5px;
    font-weight: 600;
    font-size: 14px;
    height: 40px;
    line-height: 34px;
}

#calculator label input {
    margin: 0;
    max-width: 75px;
    border: 1px solid #cccccc;
    border-radius: 3px;
    padding: 4px 6px;
    font-size: 14px;
    min-height: 34px;
}

#calculator .calc_inputs label input {
    flex-basis: 75px;
}

#calculator label input[type="radio"] {
    height: 14px;
    min-height: 14px !important;
    border-radius: 8px !important;
    margin: 5px 5px 5px 0;
}

#calculator label input:disabled {
    background: #f0f0f0;
}

#calculator .calculator-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 10px;
}

#calculator .calculator-header h3 {
    margin: 0;
}

#training-calculator,
#stat-calculator,
#iv-calculator,
#disobedience-calculator,
#perfect-ivs-wrapper {
    font-size: 14px;
    background: #f7f7f7;
    margin: 5px 0;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #d7d7d7;
}

#perfect-ivs-wrapper {
    overflow: hidden;
    position: relative;
    overflow: hidden;
    margin: 5px 0;
    padding: 5px 0;
    border-radius: 10px;
}

#perfect-ivs-title {
    white-space: nowrap;
}

#perfect-ivs {
    padding: 0 0 0 50px;
    position: relative;
    overflow: hidden;
    margin: 0;
    background: repeating-linear-gradient(
        transparent 0,
        transparent 56px,
        #cfcfcf 57px,
        #cfcfcf 57px
    );
    background-position-y: -5px;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#perfect-ivs::before {
    content: "";
    display: block;
    position: absolute;
    width: 53px;
    height: 100%;
    background-repeat: repeat-y;
    left: 0;
}

#perfect-ivs.hp::before {
    background-image: url(https://www.pocketmortys.net/media/com_pocketmortys/images/level-hp.png);
    background-size: 53px 57px;
}

#perfect-ivs.atk::before {
    background-image: url(https://www.pocketmortys.net/media/com_pocketmortys/images/level-atk.png);
    background-size: 53px 57px;
}

#perfect-ivs.def::before {
    background-image: url(https://www.pocketmortys.net/media/com_pocketmortys/images/level-def.png);
    background-size: 53px 57px;
}

#perfect-ivs.spd::before {
    background-image: url(https://www.pocketmortys.net/media/com_pocketmortys/images/level-spd.png);
    background-size: 53px 57px;
}

.iv-hp-grid {
    display: flex;
    flex-wrap: wrap;
    row-gap: 5px;
    position: relative;
    padding-left: 52px;
}

.iv-hp-grid > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 38px;
    height: 52px;
}

.iv-hp-grid > div > span {
    flex-basis: 50%;
    text-align: center;
}

#iv-calculator > div {
    position: relative;
}

#training-calculator .calc_inputs label span {
    width: 53px;
}

#training-calculator .calc_inputs label span.hasTooltip {
    margin-left: 5px;
}

#damage-calculator {
    display: grid;
    grid-template-areas:
        "topleft topcenter rightall"
        "middleleft middlecenter rightall"
        "bottomall bottomall bottomall";
    grid-template-columns: 1fr 1fr 1fr;
}

#damage-calculator > div {
    background: #f7f7f7;
    margin: 5px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid #d7d7d7;
}

#attacking-morty-wrap {
    grid-area: topleft;
}

#defending-morty-wrap {
    grid-area: topcenter;
}

#attack-totals-wrap {
    grid-area: rightall;
}

#attack-choice-wrap {
    grid-area: middleleft;
}

#damage-buttons-wrap {
    grid-area: middlecenter;
}

#attack-effects-wrap {
    grid-area: bottomall;
    padding: 0 5px !important;
}

#attack-effects {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

#attack-effects > div {
    margin: 0 auto;
}

#attack-effects .calc_outputs > div > span:first-child {
    width: 152px;
}

#damage-buttons {
    margin-top: 10px;
    min-height: 57px;
}

#error_log3 {
    padding: 10px 5px 0;
    font-size: 11.5px;
}

.calc_inputs,
.calc_outputs {
    display: inline-flex;
    flex-wrap: wrap;
    margin-bottom: 6px;
    flex-direction: column;
    vertical-align: top;
    min-width: 175px;
}

.calc_inputs {
    margin-right: 15px;
}

#damage-calculator .calc_inputs {
    margin: 0;
}

#damage-calculator .calc_inputs > label:last-child {
    line-height: 20px;
}

.calc_inputs > label {
    flex-grow: 1;
    cursor: default;
}

.calc_inputs > label > span,
.calc_outputs > div > span:first-child {
    width: 89px;
    user-select: none;
}

#damage-calculator .calc_inputs > label > span {
    width: 135px;
}

#damage-calculator .calc_outputs > div > span:first-child {
    width: 190px;
}

#damage-calculator #attack-effects .calc_outputs > div > span:first-child {
    width: 155px;
}

#disobedience-calculator .calc_inputs > label > span {
    width: 115px;
}

#disobedience-calculator .calc_outputs > div > span:first-child {
    width: 385px;
}

.calc_outputs > div {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    height: 40px;
    line-height: 34px;
}

.calc_outputs > div > span:first-child {
    display: inline-flex;
    align-items: center;
    margin: 0 5px;
    font-weight: 600;
    font-size: 14px;
    width: 80px;
}

.calc_outputs > div > span:nth-child(2) {
    background: #f0f0f0;
    padding: 0.375rem 0.375rem;
    border: 1px solid #cccccc;
    border-radius: 3px;
    min-width: 75px;
    display: inline-flex;
    height: 34px;
    line-height: 34px;
    vertical-align: top;
    align-items: center;
    font-size: 14px;
}

#attack-effects .calc_outputs > div > span:nth-child(2) {
    min-width: 71px;
}

#training-calculator .calc_inputs.toggle-target {
    margin-bottom: 0;
    height: 44px;
}

#training-calculator .calc_inputs.toggle-target input {
    max-width: 55px;
    margin-left: 5px;
}

#training-calculator .calc_inputs.toggle-target label span {
    width: unset;
}

.toggle-cant-train {
    color: #d50000;
    font-style: italic;
    padding-bottom: 5px;
}

#calc_ivs,
#calc_max_stats,
#calc_damage,
#calc_training {
    max-width: 180px;
}

#calc_disobedience {
    max-width: 200px;
}

.calculator-grid {
    display: grid;
    row-gap: 5px;
    column-gap: 10px;
    margin-bottom: 10px;
    max-width: max-content;
    align-items: center;
}

#grid-ivs.calculator-grid {
    grid-template-columns: 70px 55px minmax(70px, max-content) 1fr;
}

#grid-ivs.calculator-grid.show-evs {
    grid-template-columns: 70px 55px minmax(70px, max-content) 70px 1fr;
}

#grid-stats.calculator-grid {
    grid-template-columns: 70px minmax(55px, 1fr) minmax(55px, 1fr);
}

#grid-stats.calculator-grid.show-evs {
    grid-template-columns: 70px minmax(55px, 1fr) minmax(70px, 1fr) minmax(
            55px,
            1fr
        );
}

.calculator-grid .evs {
    display: none !important;
}

.calculator-grid .choices {
    width: 100%;
    min-width: 280px;
}

#grid-ivs.calculator-grid .choices {
    grid-column: span 3;
}

#grid-ivs.calculator-grid .choices.span-1 {
    grid-column: span 1;
    min-width: unset;
    background-color: #fff;
}

#grid-ivs.calculator-grid .choices.span-1 .choices__inner {
    background: none;
}

#grid-stats.calculator-grid .choices {
    grid-column: span 2;
}

.calculator-grid input[disabled] {
    background: #f0f0f0 !important;
    border: 1px solid #d7d7d7 !important;
    box-shadow: none;
}

.calculator-grid .choices .choices__inner {
    border-color: #d7d7d7;
}

.calculator-grid.show-evs .evs {
    display: inline-flex !important;
}

#grid-ivs.calculator-grid.show-evs .choices {
    grid-column: span 4;
}

#grid-stats.calculator-grid.show-evs .choices {
    grid-column: span 3;
}

#grid-stats.calculator-grid.show-evs .trained-or-untrained {
    grid-column: span 2;
}

.hide-wrap {
    display: none !important;
}

.calculator-grid > input,
.calculator-grid > label,
.calculator-grid > div {
    display: inline-flex;
    align-items: center;
}

.calculator-grid > label {
    height: unset;
    max-height: 34px;
    border-color: #d7d7d7;
}

.calculator-grid #trained-or-untrained {
    padding: 0 5px;
    font-size: 12px;
}

.calculator-grid > label.header-row {
    justify-content: center;
    max-height: 20px;
    line-height: 20px;
}

.calculator-grid > input {
    border: 1px solid #d7d7d7;
    max-height: 34px;
}

.calculator-grid > div:not(.choices) {
    background: #f0f0f0;
    border: 1px solid #d7d7d7;
    justify-content: center;
    border-radius: 0.1875rem;
    min-height: 34px;
}

.calculator-grid > div:not(.star_rating) > span {
    font-size: 12px;
    padding: 0 5px;
}

.calculator-grid .abbr {
    display: none;
}

#download-result {
    background: #d7edf2;
    border: 1px solid #95d2e0;
}

#download-result:hover,
#download-result:focus {
    background: #def4f9;
}

#calculator .calculation-select {
    display: flex;
    align-items: flex-start;
}

#calculator .calculation-select label {
    user-select: none;
    cursor: pointer;
}

#calculator .calculation-select input {
    margin-right: 3px;
    -webkit-appearance: radio;
    appearance: radio;
}

#calculator #advanced-wrap {
    margin-bottom: 5px;
}

.error_log {
    color: #d50000;
    padding-bottom: 10px;
    font-style: italic;
    font-size: 14px;
}

.error_log:empty {
    padding-bottom: 0;
}

.calculation-type {
    cursor: default;
}

#calculator .icon-info {
    color: var(--blue-links);
    margin-left: 10px;
    cursor: help;
    position: relative;
}

#calculator .icon-info::before {
    border-radius: 50%;
    font-size: 16px;
    background-color: #fff;
}

.cursor-help {
    cursor: help;
}

.type-icon {
    width: 16px;
    height: 11px;
    background: none;
}

.type-icon.Rock {
    width: 16px;
    height: 11px;
    background: url("https://www.pocketmortys.net/images/rock_small.png") no-repeat center;
}

.type-icon.Paper {
    width: 16px;
    height: 12px;
    background: url("https://www.pocketmortys.net/images/paper_small.png") no-repeat center;
}

.type-icon.Scissors {
    width: 16px;
    height: 11px;
    background: url("https://www.pocketmortys.net/images/scissors_small.png") no-repeat center;
}

.type-icon.Poison {
    width: 16px;
    height: 14px;
    background: url("https://www.pocketmortys.net/images/poison_small.png") no-repeat center;
}

.type-icon.Paralyze {
    width: 16px;
    height: 14px;
    background: url("https://www.pocketmortys.net/images/paralyze_small.png") no-repeat center;
}

table.training-table {
    margin-left: 5px;
}

table.training-table,
table.training-table tr,
table.training-table tr td {
    border: none;
}

table.training-table td {
    padding: 5px 0;
}

table.training-table td:first-child {
    width: 67px;
}

table.training-table span,
#training_level,
#training_level_target,
#finish_level_target,
#xp_to_level {
    background: #f0f0f0;
    padding: 0.375rem 0.375rem;
    border: 1px solid #cccccc;
    border-radius: 3px;
    min-width: 60px;
    display: inline-flex;
    height: 34px;
    line-height: 34px;
    vertical-align: top;
    align-items: center;
    font-size: 14px;
}

#xp_to_level {
    margin: 5px 5px 5px 0;
}

.same-level-mortys {
    padding: 11px 0 12px;
}

#training_level,
#training_level_target,
#finish_level_target {
    margin: 5px;
    min-width: 40px;
}

#calculator .calculation-select.column-radios {
    margin-bottom: 5px;
}

#calculator .calculation-select.column-radios > .flex-column {
    min-width: 140px;
}

#calculator .calculation-select.column-radios label {
    line-height: 28px;
    height: 28px;
}

#calculator .calculation-select.column-radios label span {
    margin-left: auto;
}

.level-check {
    margin-top: 5px;
}

#method_error {
    padding-top: 5px;
}

#calc_level_training {
    display: inline-block;
    margin: 0 5px;
    max-width: 60px;
    border: 1px solid #cccccc;
    border-radius: 3px;
    padding: 4px 6px;
    font-size: 14px;
    min-height: 34px;
}

.star_rating {
    height: 25px;
    width: 100%;
    min-width: 70px;
    display: inline-flex;
    align-items: center;
    color: #0f829c !important;
    align-self: center;
}

.star_rating > span {
    font-size: 12px;
}

.star_wrap {
    border-bottom: 2px solid transparent;
    border-top: 2px solid transparent;
    margin: 0 5px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    padding-bottom: 1px;
}

.star_wrap.perfect {
    /* border-bottom: 2px solid #0f829c; */
    /* border-top: 2px solid #0f829c; */
    border-bottom: 2px solid #e7c612;
    border-top: 2px solid #e7c612;
}

.star_wrap i::before {
    color: #0f829c !important;
    font-size: 18px;
}

.star_wrap.perfect i::before {
    /* color: #066a80 !important; */
    color: #e7c612 !important;
    font-size: 18px;
}

.star_wrap > i {
    margin-right: 3px;
}

.star_wrap > i:last-child {
    margin-right: 0;
}

#calculate_iv_wrap {
    display: flex;
    gap: 10px;
}


    


.shiny {
}

/* Fix Font Awesome */
.fa-star-half-o::before {
    content: "\f5c0";
}

.morty_image {
    width: 175px;
    height: 310px;
    margin: 10px 0;
}

.damage .morty_image {
    width: 100%;
    height: 200px;
    margin: 0;
}

.ev-type-select {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.anchor2 {
    display: block;
    position: relative;
    top: -70px;
    visibility: hidden;
}

#morty_rarity_select_chosen {
    width: 110px !important;
}

#calc_level_specific {
    width: 55px;
    margin: 5px !important;
}

#calculator label.calculation-type[for="calc_type"] {
    width: 65px;
    min-width: 65px;
}

.chosen-container .chosen-results li.active-result.rare::before {
    content: "";
    background: url(https://www.pocketmortys.net/images/rarity.png) no-repeat center left;
    background-size: 18px;
    background-position: top -23px left;
    padding-left: 25px;
    display: inline-flex;
    align-items: center;
    line-height: 17px;
    height: 17px;
    vertical-align: top;
}

.chosen-container .chosen-results li.active-result.epic::before {
    content: "";
    background: url(https://www.pocketmortys.net/images/rarity.png) no-repeat center left;
    background-size: 18px;
    background-position: top -45px left;
    padding-left: 25px;
    display: inline-flex;
    align-items: center;
    line-height: 17px;
    height: 17px;
    vertical-align: top;
}

.chosen-container .chosen-results li.active-result.exotic::before {
    content: "";
    background: url(https://www.pocketmortys.net/images/rarity.png) no-repeat center left;
    background-size: 18px;
    background-position: top -67px left;
    padding-left: 25px;
    display: inline-flex;
    align-items: center;
    line-height: 17px;
    height: 17px;
    vertical-align: top;
}

.attack-mega-seed {
    background: url(https://www.pocketmortys.net/images/assets/ItemMegaSeedAttackIcon.png) no-repeat center
        left;
    background-size: contain;
    height: 30px;
}

.defense-mega-seed {
    background: url(https://www.pocketmortys.net/images/assets/ItemMegaSeedDefenceIcon.png) no-repeat center
        left;
    background-size: contain;
    height: 30px;
}

.speed-mega-seed {
    background: url(https://www.pocketmortys.net/images/assets/ItemMegaSeedSpeedIcon.png) no-repeat center
        left;
    background-size: contain;
    height: 30px;
}

@media only screen and (min-width: 1281px) and (max-width: 1535px) {
    #attack-effects {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media only screen and (min-width: 1281px) and (max-width: 1366px) {
    #calculator #damage-calculator {
        grid-template-areas:
            "topleft topcenter"
            "middleleft middlecenter"
            "rightall rightall"
            "bottomall bottomall";
        grid-template-columns: 1fr 1fr;
    }

    #calculator #damage-calculator > div > div {
        margin-bottom: 10px;
    }

    #calculator #attack-totals {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    #calculator #attack-totals > h6:first-of-type {
        order: 0;
    }

    #calculator #attack-totals > h6:last-of-type {
        order: 1;
        margin-top: 0.75rem !important;
    }

    #calculator #attack-totals > div:first-of-type {
        order: 2;
    }

    #calculator #attack-totals > div:last-of-type {
        order: 3;
    }

    #attack-effects {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media only screen and (max-width: 1280px) {
    #calculator #damage-calculator {
        grid-template-areas:
            "topleft"
            "middleleft"
            "topcenter"
            "middlecenter"
            "rightall"
            "bottomall";
        grid-template-columns: 1fr;
    }

    #calculator #damage-calculator > div {
        margin: 5px 0;
    }

    #calculator #damage-calculator > div > div {
        margin-bottom: 10px;
    }

    #attack-effects {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media only screen and (max-width: 1024px) {
    #calculator .calculator-header h3,
    #calculator .calculator-header > div {
        width: 100%;
    }

    #calculator .calculator-header .calculation-select .calculation-type {
        flex-grow: 1;
        max-width: unset;
    }

    #calculator
        .calculator-header
        .calculation-select
        .calculation-type.calculation-type[for="use_same_morty"] {
        font-size: 12px;
        line-height: 18px;
    }

    #calculator .calculator-header .calculation-select > div > span.icon-info {
        height: 14px;
    }

    #calculator .calculation-select > div > label {
        line-height: 26px;
        height: 26px;
    }

    label.empty,
    div.empty,
    .calculator-grid label.empty.evs,
    .calculator-grid div.empty.evs {
        display: none !important;
    }

    .calculator-grid label.empty,
    .calculator-grid div.empty,
    .calculator-grid.show-evs label.empty.evs,
    .calculator-grid.show-evs div.empty.evs {
        display: inline-flex !important;
    }

    .calc_inputs > label > span,
    .calc_outputs > div > span:first-child {
        width: 100px;
        margin-left: 0;
        margin-right: 0;
    }

    .calc_inputs,
    .calc_outputs {
        width: 100%;
    }

    .calc_inputs > label,
    #calculator .calc_inputs > label,
    .calc_outputs > div {
        display: inline-flex;
        align-items: center;
        margin: 0 5px 5px;
    }

    .calc_inputs input,
    .calc_outputs > div > span:nth-child(2) {
        font-size: 16px;
        padding-top: 5px;
        padding-bottom: 5px;
        height: 36px;
        line-height: 36px;
    }

    .calc_outputs > div {
        height: unset;
        min-height: 40px;
        flex-wrap: wrap;
    }

    .star_rating {
        min-height: 40px;
        line-height: 40px;
    }

    .morty_image {
        margin: 10px auto;
        height: 200px;
        text-align: center;
    }

    body.calculators #iv-calculator,
    body.calculators #stat-calculator {
        margin-top: 5px;
    }

    #attack-effects {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media only screen and (max-width: 910px) {
    #attack-effects {
        display: grid;
        grid-template-columns: 1fr;
    }

    #attack-effects > div {
        margin: 0;
        width: 100%;
    }

    #attack-effects .calc_outputs > div > span:first-child {
        width: 160px;
    }
}

@media only screen and (max-width: 800px) {
    .morty_image {
        margin: 0;
        height: 78px;
        max-width: 135px;
        text-align: center;
    }

    #mode-toggles {
        display: flex;
    }

    .wrap-on-mobile {
        flex-wrap: wrap;
    }

    .mobile-full-width {
        width: 100%;
    }

    .ev-type-select {
        flex-direction: column;
        align-items: flex-start;
    }

    #calculator .calculation-select .ev-type-select label {
        height: 26px;
    }

    #calculator .icon-info {
        line-height: 14px !important;
        padding-left: 5px;
        min-width: unset !important;
        max-width: unset !important;
        width: unset !important;
    }

    #calculator select {
        font-size: 16px !important;
    }

    #calculator .calculation-select label {
        height: 36px;
    }

    #calc_ivs,
    #calc_max_stats,
    #calc_damage,
    #calc_training {
        max-width: calc(50% - 10px);
        font-size: 14px;
        padding: 5px 7px;
    }

    #calculator #training-calculator .calculation-type,
    #calculator #training-calculator .calc_inputs > label > span {
        min-width: 75px;
        max-width: 75px;
        width: 75px;
    }

    #calculator #training-calculator .calculation-type[for="suggested_seeds"] {
        min-width: unset;
        max-width: unset;
        width: 100%;
    }

    #calculator #training-calculator label[for="suggested_no"] {
        margin-left: 8px !important;
    }

    #calculator .calculation-select.column-radios label {
        line-height: 32px;
        height: 32px;
    }

    #calculator .calc_inputs,
    #calculator .calc_outputs {
        margin-right: 0;
        width: 100%;
    }

    #calculator .calc_inputs label input {
        min-width: 75px;
    }

    #calculator .calc_inputs input,
    #calculator .calc_outputs > div > span:nth-child(2) {
        font-size: 16px;
        min-height: 36px;
    }

    #calculator .calculation-select {
        margin: 5px 0 0;
        align-items: center;
    }

    #calculator label.calculation-type[for="calc_type"] {
        width: 45px;
        min-width: 45px;
        height: 26px;
    }

    #calculator #iv-calculator .calculation-select {
        align-items: flex-start;
        margin-top: 0;
        margin-bottom: 10px;
        flex-grow: 1;
    }

    #calculator .calculation-select > div:last-child {
        margin-bottom: 0 !important;
    }

    #calculator .calculation-select > div > label {
        margin-left: 0;
    }

    #calculator .calc_inputs > label > span,
    #calculator .calc_outputs > div > span:first-child {
        width: 90px;
        line-height: 36px;
        margin: 0;
    }

    #calculator label:not(.btn) {
        margin: 0 5px 0 1px;
    }

    #calculator .calculation-select > div > span.icon-info {
        height: 20px;
        line-height: 20px;
    }

    #calculator .calculation-type {
        width: 130px;
        min-width: 130px;
        margin-right: 0;
        line-height: 36px;
    }

    #calculator .chosen-container {
        width: calc(100% - 100px) !important;
        margin-left: -5px;
    }

    #calculator .mobile-full-width .chosen-container {
        width: calc(100% - 200px) !important;
        margin-left: 5px;
    }

    #calculator #damage-calculator > div {
        width: 100%;
    }

    #calculator #damage-calculator .calc_inputs {
        width: auto;
    }

    #calculator #damage-calculator .calc_inputs > label > span {
        width: 125px;
    }

    #calculator #damage-calculator .calc_inputs > label:last-child > span {
        line-height: 20px;
    }

    #calculator #damage-calculator .calculation-type {
        width: 125px;
        min-width: 125px;
        max-width: 125px;
    }

    #calculator #damage-calculator .calculation-type[for="attack_selection"] {
        width: 50px;
        max-width: 50px;
        min-width: 50px;
    }

    #calculator #damage-calculator .chosen-container {
        width: calc(100% - 130px) !important;
        margin-left: -5px;
    }

    #calculator #damage-calculator .calc_outputs > div > span:first-child {
        width: 200px;
    }

    #screenshot-wrapper * {
        transform: unset !important;
    }

    #calculate_iv_wrap {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    #calculate_iv_wrap > button {
        flex-grow: 1;
    }
}

@media only screen and (max-width: 420px) {
    .calculator-grid {
        width: 100%;
        max-width: 100%;
    }

    #grid-ivs.calculator-grid {
        grid-template-columns: 40px 55px minmax(55px, max-content) 1fr;
    }

    #grid-ivs.calculator-grid.show-evs {
        grid-template-columns: 40px 55px 55px minmax(55px, max-content) 1fr;
    }

    #grid-stats.calculator-grid {
        grid-template-columns: 40px 55px minmax(55px, max-content);
    }

    #grid-stats.calculator-grid.show-evs {
        grid-template-columns: 40px 55px 55px minmax(55px, max-content);
    }

    .calculator-grid > .choices {
        min-width: 100%;
    }

    .calculator-grid span.full {
        display: none;
    }

    .calculator-grid span.abbr {
        display: inline;
    }

    .calculator-grid .star_rating {
        height: unset;
        font-size: 12px;
        line-height: 12px;
        justify-self: center;
    }

    .calculator-grid .star_rating > span > i::before {
        font-size: 15px !important;
    }
}

@media only screen and (max-width: 370px) {
    .calculator-grid .star_rating > span > i::before {
        font-size: 13px !important;
    }
}

/* Download Image */

#screenshot-placeholder {
    position: fixed;
    top: calc(50% - 170px);
    left: calc(50% - 300px);
    z-index: -100;
    width: 625px;
    height: 340px;
}

#screenshot-wrapper * {
    box-sizing: border-box;
    line-height: normal;
}

#screenshot-wrapper {
    display: inline-flex;
    background: url(https://www.pocketmortys.net/images/morty-background.png) repeat top -190px left -190px;
    background-size: cover;
    width: 625px;
    height: 340px;
    font-family: "PocketMortys", Arial, Helvetica, sans-serif;
    color: #000;
    font-size: 20px;
    box-sizing: border-box;
    position: relative;
    line-height: normal;
}

#screenshot-wrapper i {
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    color: #0f829c;
}

#screenshot-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    box-shadow: inset 0 0 50px 20px rgb(0 0 0 / 75%), inset 0 0 15px 0 black;
    z-index: 1;
}

#screenshot-wrapper .left-wrapper {
    display: flex;
    flex-direction: column;
    flex-basis: 445px;
    z-index: 2;
}

#screenshot-wrapper .right-wrapper {
    display: flex;
    flex-direction: column;
    flex-basis: 180px;
    z-index: 2;
    justify-content: space-between;
}

#screenshot-wrapper .header-wrapper {
    display: flex;
    height: 50px;
    margin: 10px;
    background: rgb(68 148 255 / 94%);
    align-items: center;
    border: 3px solid #f5f5f5;
    border-radius: 10px;
    box-shadow: 0 0 0 3px #1e1e1e;
    border-radius: 10px;
    box-sizing: border-box;
    flex-shrink: 0;
}

#screenshot-wrapper .right-wrapper .header-wrapper {
    justify-content: center;
}

#screenshot-wrapper .right-wrapper .header-wrapper .header-text {
    transform-origin: center;
    font-size: 18px;
}

#screenshot-wrapper .morty-screenshot-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    min-height: 0;
    position: relative;
}

#screenshot-wrapper .morty-screenshot-wrapper #pulsing-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0;
    top: 0;
}

#screenshot-wrapper .header-icon {
    height: 100%;
    padding: 5px;
    box-sizing: border-box;
    margin-right: 5px;
}

#screenshot-wrapper .header-icon img {
    max-height: 100%;
}

#screenshot-wrapper .header-text {
    transform-origin: 0 0;
    -webkit-transform: scale(1.2, 1);
    -moz-transform: scale(1.2, 1);
    -ms-transform: scale(1.2, 1);
    -o-transform: scale(1.2, 1);
    transform: scale(1.2, 1);
}

#screenshot-wrapper .header-rarity {
    margin-left: auto;
    margin-right: 5px;
}

#screenshot-wrapper .header-rarity img {
    max-height: 32px;
    max-width: 32px;
}

#screenshot-wrapper .header-element {
    margin: 0 5px 0 0;
}

#screenshot-wrapper .header-element img {
    max-height: 32px;
    max-width: 32px;
}

#screenshot-wrapper .stats-wrapper {
    margin: 0 10px 10px 10px;
    flex-grow: 1;
    background: rgb(68 148 255 / 94%);
    border: 3px solid #f5f5f5;
    border-radius: 10px;
    box-shadow: 0 0 0 3px #1e1e1e;
    padding: 6px;
}

#screenshot-wrapper .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, auto);
    row-gap: 7px;
    column-gap: 8px;
    font-size: 19px;
}

#screenshot-wrapper .stats-grid > div {
    background: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#screenshot-wrapper .stats-grid > div > span:not(.star_wrap2),
#screenshot-wrapper .stats-grid > div > div > span {
    display: inline-block;
    transform-origin: center;
    -webkit-transform: scale(1.2, 1);
    -moz-transform: scale(1.2, 1);
    -ms-transform: scale(1.2, 1);
    -o-transform: scale(1.2, 1);
    transform: scale(1.2, 1);
}

#screenshot-wrapper .stats-grid > div:nth-child(4n - 3) {
    text-align: left;
}

#screenshot-wrapper .stats-grid > #stat-hp,
#screenshot-wrapper .stats-grid > #iv-hp,
#screenshot-wrapper .stats-grid > #stat-attack,
#screenshot-wrapper .stats-grid > #iv-attack,
#screenshot-wrapper .stats-grid > #stat-defense,
#screenshot-wrapper .stats-grid > #iv-defense,
#screenshot-wrapper .stats-grid > #stat-speed,
#screenshot-wrapper .stats-grid > #iv-speed {
    font-size: 17px;
}

/* #screenshot-wrapper .stats-grid > div.screenshot-label > span,
#screenshot-wrapper .stats-grid > div.stat > span {
    text-shadow: 0px 1px 0px rgb(0 0 0 / 20%), 1px 0 0px rgb(0 0 0 / 20%);
} */

#screenshot-wrapper .stats-grid > div.stat {
    justify-content: flex-start;
}

#screenshot-wrapper .stat-wrapper {
    display: flex;
    justify-content: space-between;
}

#screenshot-wrapper .morty-screenshot-image {
    max-height: calc(100% - 50px);
    max-width: 100%;
}

#screenshot-wrapper .stats-grid > div.level {
    background-color: #000;
    color: #fff;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#screenshot-wrapper .stats-grid > div.screenshot-label.level {
    justify-content: flex-start;
    position: relative;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    padding-left: 5px;
    color: #000;
}

#screenshot-wrapper .stats-grid > div.screenshot-label.level > span {
    background: url(https://www.pocketmortys.net/images/YourLevelBarBig.png);
    border-radius: 2px;
    padding-left: 5px;
    color: #000;
    width: calc(100% - 8px);
    box-sizing: border-box;
}

#screenshot-wrapper .stats-grid > div.screenshot-label.level::after {
    content: "";
    background: #000;
    width: 8px;
    height: 100%;
    position: absolute;
    right: -8px;
}

#screenshot-wrapper .stats-grid > div.level > span {
    display: inline-block;
    transform-origin: 0 0;
    -webkit-transform: scale(1.2, 1);
    -moz-transform: scale(1.2, 1);
    -ms-transform: scale(1.2, 1);
    -o-transform: scale(1.2, 1);
    transform: scale(1.2, 1);
}

#screenshot-wrapper .stats-grid > div.emptygrid {
    background: none;
}

#screenshot-wrapper .to {
    margin: 0 5px;
    font-size: 14px;
}

#screenshot-wrapper .star_wrap2.perfect i {
    color: #e7c612;
}

#screenshot-wrapper .stats-grid > div.training,
#screenshot-wrapper .stats-grid > div.pulsing,
#screenshot-wrapper .stats-grid > div.shiny {
    padding: 3px;
    width: 100%;
    font-size: 18px;
    background: #000000;
    /* background: #fe8431; */
}

#screenshot-wrapper .stats-grid > div.training > div,
#screenshot-wrapper .stats-grid > div.pulsing > div,
#screenshot-wrapper .stats-grid > div.shiny > div {
    color: #000;
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

#screenshot-wrapper .stats-grid > div.training > div {
    background: #fbff57;
}

#screenshot-wrapper .stats-grid > div.training.trained > div {
    /* background: #d507c0; */
    background: #f14ed4;
}

#screenshot-wrapper .stats-grid > div.pulsing > div {
    background: #6aff59;
}

#screenshot-wrapper .stats-grid > div.shiny > div {
    background: #59dfff;
}


    
    


#screenshot-wrapper .star_wrap2 .star-full {
    width: 20px;
    height: 20px;
    background-image: url("https://www.pocketmortys.net/media/com_pocketmortys/images/rating-full.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-flex;
    align-self: center;
}

#screenshot-wrapper .star_wrap2 .star-half {
    width: 20px;
    height: 20px;
    background-image: url("https://www.pocketmortys.net/media/com_pocketmortys/images/rating-half.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-flex;
    align-self: center;
}

#screenshot-wrapper .star_wrap2 .star-empty {
    width: 20px;
    height: 20px;
    background-image: url("https://www.pocketmortys.net/media/com_pocketmortys/images/rating-empty.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-flex;
    align-self: center;
}

#screenshot-wrapper .star_wrap2 .star-perfect {
    width: 20px;
    height: 20px;
    background-image: url("https://www.pocketmortys.net/media/com_pocketmortys/images/rating-perfect.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-flex;
    align-self: center;
}

.shiny-morty {
    -webkit-filter: hue-rotate(90deg);
    -moz-filter: hue-rotate(90deg);
    -o-filter: hue-rotate(90deg);
    filter: hue-rotate(90deg);
}

.pulsing-morty {
    -webkit-filter: url(#pulsing);
    -moz-filter: url(#pulsing);
    -o-filter: url(#pulsing);
    filter: url(#pulsing);
}

#switch-defender {
    font-size: 10px;
    font-weight: normal;
    cursor: pointer;
    align-self: center;
}

#switch-defender:hover {
    color: #000;
}



