/* ---------- Shared notices ---------- */

.eerie-missions-notice {
    box-sizing: border-box;
    width: 100%;
}

.eerie-missions-notice + .eerie-missions-notice {
    margin-top: 6px;
}


/* ---------- Index power display ---------- */

.eerie-missions-power,
.eeriemissions_scores {
    box-sizing: border-box;
    width: 100%;
    margin: 15px 0;
	background-color: var(--farbe6);
}

.eerie-missions-power-title,
.eeriemissions_scores_title {
    margin-bottom: 10px;
	background-color: var(--back);
    color: var(--schrift_user_head);
    font-size: 20px;
    font-family: 'Playfair Display SC';
    text-align: center;
    padding: 10px 0 10px 0;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
}

.em_power_labels {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 8px;
}

.em_power_label {
    flex: 1 1 0;
	padding: 5px;
    margin-left: 5px;
}

.em_power_label strong,
.em_power_label span {
    display: block;
	margin-right: 5px;
}

.em_power_label_hockstetter strong {
    color: var(--legende3);
}

.em_power_label_blyton strong {
    color: var(--legende4);
}

.em_power_label_flatlander strong {
    color: var(--legende2);
}
.em_power_label_blyton {
    text-align: center;
}

.em_power_label_flatlander {
    text-align: right;
}

.em_power_bar {
    display: flex;
    width: 100%;
    height: 12px;
    overflow: hidden;
}

.em_power_segment {
    display: block;
    height: 100%;
    flex: 0 0 auto;
}

/* Faction colors: driven by the Lobsters theme variables. */
.em_power_hockstetter {
    background: var(--legende3);
}

.em_power_blyton {
    background: var(--legende4);
}

.em_power_flatlander {
    background: var(--legende2);
}

.em_empty {
	text-align: center;
	
}
/* ---------- Mission overview ---------- */

.eeriemissions_page {
    box-sizing: border-box;
}

.eeriemissions_section {
    margin-top: 20px;
}

.eeriemissions_section_title {
    margin: 0 0 10px;
	    background: #d8dee5;
    border-top: 3px solid #3e485c;
    text-align: center;
    color: #3e485c;
    text-transform: uppercase;
    font-size: 20px;
    letter-spacing: 2px;
    padding: 3px;
    margin-bottom: 15px;
}

.eeriemissions_assignment {
    width: 100%;
   
	    padding: 10px 10px 10px 10px;
}

.em_field {
    margin-bottom: 5px;
}

.em_description {
    margin-bottom: 10px;
}

.em_status_value {
    font-weight: 700;
	color: var(--farbe7);
}

/*
 * Status classes available for your own styling:
 * .em_status_assigned
 * .em_status_submitted
 * .em_status_approved
 * .em_status_expired
 * .em_status_opened
 * .em_status_completed
 * .em_status_rejected
 */

.em_submit {
    margin-top: 12px;
}

.em_submit label {
    display: inline-block;
    margin-bottom: 5px;
}

.em_review,
.em_link {
    margin-top: 10px;
}


/* ---------- "More missions" ---------- */

.em_mission_hidden {
    display: none;
}

.em_more_wrap {
    margin: 12px 0 20px;
    text-align: center;
}

.em_more_hidden {
    display: none;
}


/* ---------- Responsive ---------- */

@media (max-width: 700px) {
    .em_power_labels {
        gap: 8px;
    }

    .em_power_label,
    .em_power_label_blyton,
    .em_power_label_flatlander {
        text-align: left;
    }

    .em_submit .textbox {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        margin-bottom: 6px;
    }
}
/* ---------- Eerie Missions 2.3.0 ---------- */

.em_cancel {
    margin-top: 10px;
}

.em_cancel_button {
    opacity: .82;
}

.em_away_note {
    margin-top: 10px;
    padding: 7px 9px;
    border-left: 2px solid var(--linie1);
    font-size: 11px;
}


/* ---------- Schmale globale Missionsleiste ---------- */

.em_global_bar {
    box-sizing: border-box;
    width: 100%;
    min-height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;

    padding: 5px 34px 5px 12px;
    position: relative;

    border-top: 1px solid var(--farbe7);
    border-bottom: 1px solid var(--farbe7);

    background: var(--farbe3);
    color: var(--farbe1);
margin-bottom: 15px;

    font-size: 10px;
    letter-spacing: .3px;
}

.em_global_bar strong {
    font-family: "YoungSerif-Bold", sans-serif;
    letter-spacing: 1.2px;
}

.em_global_bar a {
    color: inherit;
    font-weight: 700;
}

.em_global_close {
    position: absolute;
    right: 9px;
    top: 50%;
    transform: translateY(-50%);

    border: 0;
    background: transparent;
    color: inherit;

    cursor: pointer;
    font-size: 15px;
    line-height: 1;
    padding: 2px 5px;
    opacity: .65;
}

.em_global_close:hover {
    opacity: 1;
}

@media (max-width: 700px) {
    .em_global_bar {
        flex-wrap: wrap;
        gap: 4px 10px;
    }
}
/* ---------- Mission abbrechen: Modal ---------- */

.em-cancel-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(24, 32, 46, 0.58);
}

.em-cancel-overlay.is-open {
    display: flex;
}

.em-cancel-modal {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    max-width: 575px;
    background: #f7f7f7;
    border: 1px solid var(--back);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .25);
    text-align: center;
    overflow: hidden;
}

.em-cancel-title {
    box-sizing: border-box;
    margin: 0;
    padding: 17px 55px;
    background: var(--back);
    color: var(--farbe3);
     font-size: 22px;
    line-height: 1.25;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.em-cancel-x {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 18px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.em-cancel-message {
    box-sizing: border-box;
    margin: 0;
    padding: 28px 38px 22px;
    color: var(--text);
    font-family: Cambria, Georgia, serif;
    font-size: 12px;
    line-height: 1.7;
    text-align: center;
    text-transform: none;
}

.em-cancel-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    padding: 0 25px 30px;
}

.em-cancel-confirm,
.em-cancel-back {
    box-sizing: border-box;
    display: inline-block;
    margin: 0;
    padding: 7px 14px;
    background: transparent !important;
    font-family: Cambria, Georgia, serif;
    font-size: 12px;
    line-height: 1.4;
    cursor: pointer;
    text-decoration: none;
}

.em-cancel-confirm {
    border: 1px solid #d75b5b !important;
    color: #c94e4e !important;
}

.em-cancel-back {
    border: 1px solid #44536d !important;
    color: #44536d !important;
}

.em-cancel-confirm:hover,
.em-cancel-back:hover {
    opacity: .7;
    text-decoration: none;
}

.em-open-cancel {
    cursor: pointer;
}

