@font-face {
        font-family: 'OpenSans';
        src: url("../core/fonts/OpenSans.ttf");
        font-weight: normal;
        font-style: normal;
}

body {
    font-family: "OpenSans", sans-serif;
    background-color: rgba(216, 216, 216, 0.5);
    margin: 0;
    margin-bottom: 50px;

}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    background-color: rgb(255, 167, 66);
    color: white;
    padding-left: 20px;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.1);
    align-items: center;
}

header img {
    height: 80px;
    padding-top: 8px;
}

header h1 {
    text-shadow: 2px 2px 2px rgba(0,0,0,0.1);
    font-size: 20px;
}

input {
    font-size: 25px;
    border-radius: 5px;
    border-color: whitesmoke;
    border-style: none;
    background-color: white;
    padding: 2px 5px 2px 5px;
    width: 70%;
}

.search-button {
    font-size: 15px;
    border: 2px solid #ffa500;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.16), rgba(255, 255, 255, 0.92));
    border-radius: 15px;
    padding: 5px 5px;
    color: orange;
    font-weight: 600;
    margin-left: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 150px;
    
}

.einstellungen-button {
    font-size: 15px;
    border: 2px solid #ffa500;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 8px;
    padding: 5px 5px;
    color: orange;
    font-weight: 600;
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 100%;
    margin-bottom: 15px;
}

.login-button {
    font-size: 20px;
    border: 2px solid #ffa500;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 15px;
    padding: 10px 10px;
    color: orange;
    font-weight: 600;
    margin-left: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.organization-user-button {
    font-size: 14px;
    border: 2px solid #ffa500;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 15px;
    padding: 10px 10px;
    color: orange;
    font-weight: 600;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.user_role_select {
    border-radius: 15px;
    font-size: 22px;
    padding: 4px;
    margin-right: 10px;
}

.login-buttons {
    padding-top: 30px;
    display: flex;
    flex-direction: row-reverse;
}

.search-button img {
    width: 45px;
    padding-right: 10px;
}

form {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 15px;
}

.login {
    display: block;
}

.login div {
    margin-bottom: 20px;
}

.login label {
    margin-bottom: 10px;
}

.login input {
    border-color: rgb(160, 160, 160);
    border-style: solid;
    background-color: white;

}

.login input#show_caption {
    width: 20px;
    margin-top: 10px;
}

.login input#id_is_active {
    width: 20px;
    margin-top: 10px;
}

.login#is_active {
    display: flex;
    align-items: baseline;
}
.suche_matchfoxlogo {
    width: 40%;
    max-width: 300px;
    display: block;
    margin: 0 auto;
}

.user_email_header {
    display: flex;
    position: absolute;
    right: 0;
    padding-right: 5px;
    text-align: right;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-end;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    z-index: 1000;
    background-color: rgb(255, 167, 66);
    color: white;
    padding-left: 20px;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.1);
    align-items: center;
    gap: 10px;
}

.footer_logo {
    height: 30px;

}

.suchergebniss {
    padding: 10px;
    margin-bottom: 15px;
    margin-right: 20px;
    border-color: rgb(155, 155, 155,0.0);
    border-style: solid;
    border-radius: 10px;
    background-color: white;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.1);
    min-height: 60px;
}

.member_list_container {
    padding: 10px;
    margin-bottom: 15px;
    margin-right: 20px;
    border-color: rgb(155, 155, 155,0.0);
    border-style: solid;
    border-radius: 10px;
    background-color: white;
    width: 100%;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.1);
    min-height: 60px;
}

.member_list_container h2 {
    margin-top: 0px;
}

.member_list_container table {
    border-collapse: collapse;
    width: 100%;

}

.user_self {
    font-style: italic;
    font-size: 14px;
}

.member_list_container td, th {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.patronanzen_verwalten_fenster {
    padding: 10px;
    margin-bottom: 15px;
    margin-right: 20px;
    border-color: rgb(155, 155, 155, 0.0);
    border-style: solid;
    border-radius: 10px;
    background-color: white;
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: stretch;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
    min-height: 60px;
    justify-content: space-between;
}

.patronanzen_verwalten_fenster__img {
    min-width: 122px;
    border-radius: 10px;
    border-style: ridge;
}

.patronanz_zuweisen__caption {
    display: block;
}    

.patronanzen_verwalten_fenster__name {
    width: 20%;
    /*min-width: 150px;*/
}

.patronanzen_verwalten_fenster__note {
    width: 30%;
    /*min-width: 200px;*/
}

.patronanzen_verwalten_fenster__status {
    /*width: 10%;*/
}
.patronanz_fenster {
    padding: 10px;
    margin-bottom: 15px;
    margin-right: 20px;
    border-color: rgb(155, 155, 155,0.0);
    border-style: solid;
    border-radius: 10px;
    background-color: white;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.1);
    min-height: 60px;
}

.patronanz_fenster2 {
    display: flex;
    justify-content: left;
    width: 100%;
}

.patronanz_fenster2 details {
    width: 100%;
}


.patronage-details {
    overflow: hidden;
}

.patronage-details summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

.patronage-details__arrow {
    transition: transform 0.28s ease;
    transform: rotate(-90deg);
    caret-color: transparent;
}

.patronage-details[open] .patronage-details__arrow {
    transform: rotate(-270deg);
    caret-color: transparent;
}

.patronage-details summary::-webkit-details-marker {
    display: none;
}

.patronage-details__content {
    overflow: hidden;
    height: 0;
    opacity: 0;
    transition: height 0.28s ease, opacity 0.2s ease;
}

.patronage-details[open] .patronage-details__content {
    opacity: 1;
}

.patronage-details__inner {
    overflow: hidden;
    padding-top: 0;
    transition: padding-top 0.28s ease;
}


.patronage-details[open] .patronage-details__inner {
    padding-top: 12px;
}

.patronanz_fenster2 input {
    border-color: rgb(160, 160, 160);
    border-style: solid;
    background-color: white;
}

.patronanz_erstellen_form {
    padding: 10px;
    margin-bottom: 15px;
    margin-right: 20px;
    border-color: rgb(155, 155, 155,0.0);
    border-style: solid;
    border-radius: 10px;
    background-color: white;
    width: 100%;
    display: block;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.1);
    min-height: 60px;
}

.patronanz_erstellen_form form {
    display: block;
}

.patronanz_erstellen_form input {
    font-size: 15px;

}

.login input#id_logo {
    border-style:none;
    font-size: 20px;
}

.login small {
    display: block;
}

.patronanz_erstellen_form label {
    width: 50px;
}
.favoriten_kachel {
    padding: 10px;
    margin-bottom: 15px;
    margin-right: 20px;
    border-color: rgb(155, 155, 155,0.0);
    border-style: solid;
    border-radius: 10px;
    background-color: white;
    width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.1);
    justify-content: space-around;
    height: 200px;
}

.fav_uebercontainer {
    width: 65%;
}

.fav_optionen_uebercontainer { 
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.optionen_uebercontainer {
    border-left-style: none; /*ridge;*/
    border-left-width: 2px;
    padding-left: 15px;
}

.einstellungen_container {
    padding: 10px;
    margin-bottom: 15px;
    margin-right: 20px;
    border-color: rgb(155, 155, 155,0.0);
    border-style: solid;
    border-radius: 10px;
    background-color: white;
    width: 100%;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.1);
    min-height: 150px;
}


.favoriten_kachel img {
    margin-bottom: 10px;
    height: 100px;
    width: auto;
    max-width: 100px;
}

.favoriten_ueberschrift {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.favoriten_ueberschrift img {
    height: 30px;
    margin-right: 10px;
}

.favoriten_container{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.login-formular {
    padding: 10px;
    margin-bottom: 15px;
    margin-right: 20px;
    border-color: rgb(155, 155, 155,0.0);
    border-style: solid;
    border-radius: 10px;
    background-color: white;
    width: 100%;
    align-items: center;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.1);
    min-height: 60px;
}

.aaa {
    width: 80%;
    margin-top: 20px;
    margin-left: 20px;
}
.aaa a {
    text-decoration: none;
    color: black;    
}

.aaa h1 {
    border-bottom-style: ridge;
    padding-bottom: 10px;
}

.last-played-match {
    scroll-margin-top: 170px;
    border: 2px solid orange;
    background: rgba(255,165,0,0.1);
}

.suchergebniss strong {
    font-size: 2em;
    padding-left: 20px;
    padding-right: 10px;
}



.matchfox-table {
    width: 100%;
}

.strafverifiziert {
    padding-left: 20px;
    font-size: smaller;
    font-style: italic;
}

.suche_vereinslogo {
    width: 100px;
    height: 100px;
}
.spielplan_vereinslogo {
    width: 50px;
    height: 50px;
}
.spielbericht_text_container {
    justify-content: flex-start;
    display: flex;
    align-items: flex-end;
    width: 85%;
}

.spielbericht_uebercontainer {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    width: 100%;
}
.spielbericht_logos_container {
    font-size: large;
    font-weight: 900;
    padding-right: 10px;
    margin-right: 10px;
    justify-content: center;
    align-items: center;
    display: flex;
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: rgb(0, 0, 0);
}

.spielbericht_logos_container span{
    padding-left: 5px;
    padding-right: 5px;
}

.match-patronage-mini {
    padding-left: 50px;
}

.match_titel_container {
    display: flex;
    flex-direction: row;
    padding: 10px;
    margin-top: 20px;
    margin-bottom: 15px;
    border-color: rgb(155, 155, 155,0.0);
    border-style: solid;
    border-radius: 10px;
    background-color: white;
    width: 100%;
    align-items: center;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.1);
    min-height: 60px;
    justify-content: space-around;
}

.match_titel_container img {
    width: 100px;
    /*height: 100px;*/
}

.match_titel_container_mobile {
    display: none;
    flex-direction: column;
    padding: 10px;
    margin-top: 20px;
    margin-bottom: 15px;
    border-color: rgb(155, 155, 155, 0.0);
    border-style: solid;
    border-radius: 10px;
    background-color: white;
    width: 100%;
    align-items: center;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
    min-height: 60px;
    justify-content: space-around;
}

.match_details_logos_mobile {
    display: flex;
    align-items: center;
    gap: 5px;

}

.match_details_logos_mobile img {
    width: 75px;
    /*height: 100px;*/
}

.spieler {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.match_details_text h5 {
    margin-bottom: 0px;
}

.match_details_text h3 {
    margin-top: 5px;
    margin-left: 5px;
}

.rueckennummer {
    font-weight: 800;
    font-size: 25px;
    color: #fe6717;
    margin-right: 5px;
    min-width: 40px;
    text-align: center;
}

.match_patronanz_caption {
    text-align: left;
}
.match_patronanz_text strong {
    padding-left: 0px;
    font-size: 18px;
    
}

.manual-goals-box {
    background: #ffffff;
    border: 1px solid #ffa500;
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
    width: 100%;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
}

.manual-goals-box h2 {
    margin: 0 0 16px 0;
    font-size: 1.4rem;
}

.goal-details {
    background: rgba(255, 165, 0, 0.1);
    border: 2px solid #ffa500;
    border-radius: 14px;
    overflow: hidden;
    width: 380px;
}

.goal-details summary {
    cursor: pointer;
    list-style: none;
    padding: 14px 18px;
    font-weight: 700;
    color: orange;
    background: rgba(255, 165, 0, 0.1);
    user-select: none;
    -webkit-user-select: none;
    caret-color: transparent;
    display: flex;
    align-items: center;
}

.goal-details summary::-webkit-details-marker {
    display: none;
}

.goal-details__content {
    padding: 18px;
    border-top: 1px solid #ffa500;
}

.goal-details__inner {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
 
.goal-details__inner form {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 15px;
    flex-direction: column;
}

.goal-team-picker {
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 10px;
}

.goal-team-option {
    border: 2px solid #ffa500;
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.1s ease;
    color: #000000;
    min-height: 150px;
}

.goal-team-option:hover {
    border-color: #ff7a00;
    transform: translateY(1px);
    /*background: #ff7a00;*/
    border: 4px solid #ffa500
}

.goal-team-option.active {
    border-color: #ff7a00;
    background: #ff7a00;
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.12);
}

.goal-team-option img {
    width: 82px;
    height: 82px;
    object-fit: contain;
    pointer-events: none;
}

.goal-team-option span {
    font-weight: 700;
    text-align: center;
    line-height: 1.25;
    pointer-events: none;
}

.goal-form-fields {
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid #2d2d2d;
    width: 100%;
    max-width: 360px;
}

.goal-form-row {
    margin-bottom: 16px;
    
}

.goal-form-row label,
.manual-goals-box label {
    display: inline-flex;
    margin-bottom: 6px;
    font-weight: 600;
    color: #000000;
}

.goal-form-row input[type="text"],
.goal-form-row input[type="number"],
.goal-form-row select {
    
    
    /*background: #101010;
    color: #ffffff;*/
    border: 1px solid #363636;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.goal-form-row input[type="text"]:focus,
.goal-form-row input[type="number"]:focus,
.goal-form-row select:focus {
    border-color: #ff7a00;
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.12);
}

.goal-form-row button[type="submit"] {
    background: #ff7a00;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 12px 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.goal-form-row button[type="submit"]:hover {
    background: #ff8d24;
    transform: translateY(-1px);
}

.manual-goals-list {
    background: #1a1a1a;
    border: 1px solid #2d2d2d;
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
    color: #ffffff;
}

.manual-goals-list h2 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 1.25rem;
}

.manual-goals-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.manual-goals-list li {
    padding: 10px 0;
    border-bottom: 1px solid #2a2a2a;
}

.manual-goals-list li:last-child {
    border-bottom: none;
}

/*@media (max-width: 700px) {
    .goal-team-picker {
        grid-template-columns: 1fr;
    }

    .goal-team-option {
        min-height: 130px;
    }

    .goal-team-option img {
        width: 72px;
        height: 72px;
    }

    .goal-form-row input[type="text"],
    .goal-form-row input[type="number"],
    .goal-form-row select {
        max-width: 100%;
    }
}
*/

.manual-goals-admin-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.manual-goal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #2a2a2a;
}

.manual-goal-text {
    flex: 1;
}

.delete-goal-button {
    background: #2a2a2a;
    color: #fff;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 8px 12px;
    cursor: pointer;
}

.delete-goal-button:hover {
    background: #a30000;
    border-color: #c00000;
}
.match_patronanz_uebercontainer {
    width: 100%;
}

.match_patronanz_text {
    margin-left: 10px;
    width: 80%;
}

.match_patronanz_logo {
    margin-right: 10px;
}

.match_patronanz_logo img{
    max-width: 100%;
    max-height: 150px;
    border-radius: 10px;
    border-style: ridge;
}

.match_patronanz_logo_text_container {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    width: 100%;
}

.spieler img {
    padding-right:10px;
    width: 50px;
    max-height: 61.25px;
}

.match_details_titel_text {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
    margin-left: 20px;
    margin-right: 20px;
}

.match_details_titel_text h2 {
    text-align: center;
}

.match_details_titel_text p {
    padding: 0;
    margin-top: 0px;
    margin-bottom: 5px;
}

.match_details_text {
    display: flex;
    flex-direction: column;
}

#loading-overlay img {
    display: none;
    max-width: 300px;
    min-width: 100px;
}

.aufstellungen_container {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    width: 100%;
    min-height: 60px;
    margin-bottom: 20px;
    margin-right: 20px;
    justify-content: space-around;
    flex-direction: row;
}
.patronanz_verwalten_menu {
    margin-bottom: 20px;
    margin-right: -25px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}
.aufstellung {
    border-color: rgb(155, 155, 155, 0.0);
    border-style: solid;
    border-radius: 10px;
    background-color: white;
    display: flex;
    flex-direction: row;
    align-items: center;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
    width: 43%;
    padding: 10px;
    max-width: 350px;
}

.button_abort {
    font-size: 15px;
    border: 2px solid #ffa500;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 15px;
    padding: 5px 5px;
    color: orange;
    font-weight: 600;
    margin-left: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 150px;
}

.graphic-actions a {
    text-decoration: none;
}

.graphic-actions button {
    font-size: 15px;
    border: 2px solid #ffa500;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 15px;
    padding: 5px 5px;
    color: orange;
    font-weight: 600;
    margin-left: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 150px;
}

.graphic-actions-header a {
    text-decoration: none;
}

.graphic-actions-header button {
    font-size: 15px;
    border: 2px solid #ffffff;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 15px;
    padding: 5px 5px;
    color: white;
    font-weight: 600;
    margin-left: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 150px;
    justify-content: center;
    margin-top: 5px;
    text-decoration: none;
}

.goal-details img {
    width: 45px;
    padding-right: 10px;
}

.graphic-actions img {
    width: 45px;
    padding-right: 10px;
}

#loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
}

#loading-overlay.active {
    display: flex;
}

.player_foto {
    width: 50px;
    padding-left:10px;
}

.spinner {
    width: 108px; /*48px */
    height: 108px; /*48px*/
    /*border: 4px solid #ddd;
    border-top: 4px solid #000;*/
    border: 4px solid rgb(160, 160, 160);
    border-top: 4px solid rgb(255, 167, 66);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 12px;
}

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

.editable-text-field {
    border: 0;
    background: transparent;
    font: inherit;
    color: inherit;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.editable-text-field:hover {
    background: rgba(255, 165, 0, 0.15);
}

.editable-text-field span {
    font-size: 0.75em;
    opacity: 0.6;
}

.editable-text-field.has-override {
    background: rgba(255, 165, 0, 0.18);
    outline: 1px solid rgba(255, 165, 0, 0.45);
}

.editable-text-field.has-override::after {
    content: "angepasst";
    font-size: 0.55em;
    color: #ff7a00;
    font-weight: 700;
    margin-left: 4px;
}

.text-override-modal[hidden] {
    display: none;
}

.text-override-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.text-override-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.text-override-modal__box {
    position: relative;
    background: white;
    width: min(92vw, 520px);
    margin: 12vh auto 0 auto;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.text-override-form {
    display: block;
}

.text-override-form label {
    display: block;
    font-weight: 700;
    margin-top: 14px;
    margin-bottom: 6px;
}

.override-original-display {
    background: #f2f2f2;
    border-radius: 10px;
    padding: 10px;
}

.text-override-form input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #bbb;
    font-size: 20px;
    padding: 10px;
}

.text-override-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.text-override-actions button {
    border: 2px solid #ffa500;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 12px;
    padding: 10px 14px;
    color: orange;
    font-weight: 700;
    cursor: pointer;
}

.text-override-actions button.secondary {
    border-color: #aaa;
    color: #444;
    background: #f7f7f7;
}

.graphic-config-modal[hidden] {
    display: none;
}

.graphic-config-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.graphic-config-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.graphic-config-modal__box {
    position: relative;
    background: white;
    width: min(92vw, 560px);
    margin: 10vh auto 0 auto;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.graphic-current-selection {
    background: rgba(255, 165, 0, 0.08);
    border: 1px solid rgba(255, 165, 0, 0.35);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 16px;
}

.graphic-current-selection p {
    margin: 4px 0;
}

.graphic-config-form {
    display: block;
}

.graphic-config-form label {
    display: block;
    font-weight: 700;
    margin-top: 14px;
    margin-bottom: 6px;
}

.graphic-config-form select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #bbb;
    border-radius: 10px;
    font-size: 18px;
    padding: 10px;
    background: white;
}

.graphic-config-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.graphic-config-actions button,
.graphic-config-link-button {
    border: 2px solid #ffa500;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 12px;
    padding: 10px 14px;
    color: orange;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.graphic-config-actions button.secondary {
    border-color: #aaa;
    color: #444;
    background: #f7f7f7;
}


.graphic-config-modal[hidden] {
    display: none;
}

.graphic-config-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.graphic-config-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(4px);
}

.graphic-config-modal__box {
    position: relative;
    background: #ffffff;
    width: min(94vw, 760px);
    max-height: 88vh;
    overflow-y: auto;
    margin: 6vh auto 0 auto;
    padding: 22px;
    border-radius: 24px;
    box-shadow: 0 18px 60px rgba(0,0,0,0.28);
}

.graphic-config-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.graphic-config-eyebrow {
    margin: 0 0 4px 0;
    color: #ff8a00;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.graphic-config-header h3 {
    margin: 0;
    font-size: 24px;
}

.graphic-config-close {
    border: 0;
    background: #f2f2f2;
    color: #333;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.graphic-preview-panel {
    background: linear-gradient(180deg, rgba(255,165,0,0.12), rgba(255,255,255,0.95));
    border: 1px solid rgba(255,165,0,0.32);
    border-radius: 20px;
    padding: 12px;
    margin-bottom: 20px;
}

.graphic-background-preview {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 260px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    border: 1px solid rgba(0,0,0,0.08);
}

.graphic-current-selection {
    display: none; /*grid;*/
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.graphic-current-selection div {
    background: #ffffff;
    border-radius: 14px;
    padding: 10px 12px;
    border: 1px solid rgba(0,0,0,0.06);
}

.graphic-current-selection span {
    display: block;
    font-size: 12px;
    color: #777;
    margin-bottom: 2px;
}

.graphic-current-selection strong {
    font-size: 15px;
}

.graphic-config-form {
    display: block;
}

.graphic-config-section {
    margin-top: 20px;
}

.graphic-section-title {
    margin-top: 40px;
}

.graphic-section-title h4 {
    margin: 0 0 4px 0;
    font-size: 18px;
}

.graphic-section-title p {
    margin: 0 0 12px 0;
    color: #666;
    font-size: 14px;
}

.graphic-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}



/* Horizontale Auswahlleiste für Hintergrund-Kacheln im Grafik-Modal und Goal-Prompt */
.graphic-card-slider {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 6px 16px 6px;
    margin-left: -2px;
    margin-right: -2px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.graphic-card-slider .graphic-choice-card {
    flex: 0 0 150px;
    scroll-snap-align: start;
}

.graphic-card-slider::-webkit-scrollbar {
    height: 8px;
}

.graphic-card-slider::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 999px;
}

.graphic-card-slider::-webkit-scrollbar-thumb {
    background: #ff9900;
    border-radius: 999px;
}

@media (max-width: 650px) {
    .graphic-card-slider {
        gap: 10px;
        padding-bottom: 14px;
    }

    .graphic-card-slider .graphic-choice-card {
        flex-basis: 128px;
        width: 128px;
    }

    .graphic-card-slider .graphic-choice-card span {
        font-size: 13px;
    }

    .favoriten_kachel {
        padding: 10px;
        margin-bottom: 15px;
        margin-right: 20px;
        border-color: rgb(155, 155, 155,0.0);
        border-style: solid;
        border-radius: 10px;
        background-color: white;
        width: 120px;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-shadow: 2px 2px 2px rgba(0,0,0,0.1);
        justify-content: space-around;
        height: 200px;
    }

    .fav_uebercontainer {
        width: auto;
    }

}

.graphic-choice-card {
    border: 2px solid #e2e2e2;
    width: 150px;
    background: #fff;
    border-radius: 18px;
    padding: 8px;
    cursor: pointer;
    text-align: left;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.graphic-choice-card:hover {
    border-color: #ffa500;
    transform: translateY(-1px);
}

.graphic-choice-card.active {
    border-color: #ff8a00;
    background: rgba(255, 165, 0, 0.08);
    box-shadow: 0 0 0 4px rgba(255, 138, 0, 0.16);
}

.graphic-choice-card img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: scale-down;
    border-radius: 13px;
    display: block;
    background: #f1f1f1;
}

.graphic-choice-card span {
    display: block;
    margin-top: 8px;
    font-weight: 800;
    font-size: 14px;
}

.graphic-upload-placeholder {
    opacity: 0.9;
}

.graphic-upload-card {
    border: 2px dashed #cfcfcf;
    border-radius: 18px;
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: center;
    background: #fafafa;
    color: #555;
}

.graphic-upload-plus {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(255, 165, 0, 0.14);
    color: #ff8a00;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    flex: 0 0 auto;
}

.graphic-upload-card strong {
    display: block;
    color: #333;
}

.graphic-upload-card p {
    margin: 3px 0 0 0;
    font-size: 13px;
}

.graphic-config-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.graphic-config-actions button,
.graphic-config-link-button {
    border: 2px solid #ffa500;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 14px;
    padding: 12px 16px;
    color: orange;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.graphic-primary-button {
    background: #ff8a00 !important;
    color: #ffffff !important;
}

.graphic-secondary-button {
    border-color: #aaa !important;
    color: #444 !important;
    background: #f7f7f7 !important;
}

@media (max-width: 650px) {
    .graphic-config-modal__box {
        width: auto;
        margin: 0;
        min-height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        padding: 16px;
    }

    .graphic-current-selection {
        grid-template-columns: 1fr;
    }

    .graphic-config-actions {
        flex-direction: column;
    }

    .graphic-config-actions button,
    .graphic-config-link-button {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
}

.graphic-live-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 320px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    background: #eeeeee;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.graphic-live-preview .graphic-background-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    border-radius: 0;
    border: 0;
    display: block;
}

.graphic-template-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.graphic-template-select {
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #e2e2e2;
    border-radius: 14px;
    font-size: 16px;
    padding: 12px;
    background: white;
}

.graphic-upload-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: end;
    margin-top: 12px;
}

.graphic-upload-drop {
    grid-column: 1 / -1;
    border: 2px dashed #ffa500;
    border-radius: 18px;
    padding: 16px;
    background: rgba(255, 165, 0, 0.06);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 15px;
}

.graphic-upload-drop input[type="file"] {
    margin-top: 10px;
    font-size: 14px;
    width: 100%;
}

.graphic-upload-name {
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 10px;
}

.graphic-upload-submit {
    border: 2px solid #ffa500;
    background: #ff8a00;
    color: white;
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 800;
    cursor: pointer;
}

.background-management-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.background-management-card {
    width: 250px;
    background: white;
    border-radius: 18px;
    padding: 12px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.12);
}

.background-management-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 14px;
    background: #eee;
}

.background-management-info {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.background-management-info span {
    color: #777;
    font-size: 13px;
}

.background-delete-button {
    margin-top: 12px;
    border: 2px solid #b00000;
    background: rgba(176, 0, 0, 0.08);
    color: #b00000;
    border-radius: 12px;
    padding: 9px 12px;
    font-weight: 800;
    cursor: pointer;
}

.background-upload-panel {
    width: 100%;
    background: white;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.12);
    width: 90%;
}

.background-upload-panel h2 {
    margin-top: 0;
}

.background-upload-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    align-items: end;
}

.background-upload-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 700;
}

.background-upload-form input,
.background-upload-form select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #bbb;
    border-radius: 12px;
    font-size: 16px;
    padding: 10px;
}

.background-upload-form input[type="file"] {
    padding: 8px;
    background: #fafafa;
}

.background-upload-form button {
    border: 2px solid #ffa500;
    background: #ff8a00;
    color: white;
    border-radius: 12px;
    padding: 11px 14px;
    font-weight: 800;
    cursor: pointer;
}

.endgame-source-options {
    display: grid;
    gap: 10px;
}

.endgame-source-option {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border: 2px solid #e2e2e2;
    border-radius: 14px;
    padding: 12px;
    cursor: pointer;
    background: #fff;
}

.endgame-source-option:has(input:checked) {
    border-color: #ff8a00;
    background: rgba(255, 165, 0, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.12);
}

.endgame-source-option input {
    width: auto;
    margin-top: 4px;
}

.endgame-source-option strong {
    display: block;
}

.endgame-source-option small {
    display: block;
    color: #666;
    margin-top: 2px;
}

.endgame-source-compact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f7f7f7;
    border: 1px solid #e2e2e2;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 800;
}

.mf-switch {
    position: relative;
    width: 62px;
    height: 34px;
    display: inline-block;
}

.mf-switch input {
    display: none;
}

.mf-switch span {
    position: absolute;
    inset: 0;
    background: #b9b9b9;
    border-radius: 999px;
    cursor: pointer;
    transition: 0.2s ease;
}

.mf-switch span::before {
    content: "";
    position: absolute;
    width: 28px;
    height: 28px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.28);
    transition: 0.2s ease;
}

.mf-switch input:checked + span {
    background: #ff8a00;
}

.mf-switch input:checked + span::before {
    transform: translateX(28px);
}

.snapshot_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lineup-option-compact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f7f7f7;
    border: 1px solid #e2e2e2;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 800;
}

.team-player-assets-header {
    background: white;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.team-player-assets-header h2 {
    margin: 0 0 6px 0;
}

.team-player-assets-header p {
    margin: 0;
    color: #666;
}

.team-player-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    padding-bottom: 16px;
}

.team-player-card {
    background: white;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-player-photo-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-player-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-player-photo-placeholder {
    font-size: 42px;
    font-weight: 900;
    color: #aaa;
}

.team-player-info {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 10px;
    align-items: center;
}

.team-player-info strong {
    font-size: 16px;
}

.team-player-info span {
    grid-column: 2;
    color: #777;
    font-size: 13px;
}

.team-player-number {
    grid-row: 1 / span 2;
    color: #ff8a00;
    font-weight: 900;
    font-size: 22px;
    min-width: 44px;
    text-align: center;
}

.team-player-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.team-player-meta span {
    background: rgba(255, 165, 0, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.25);
    color: #ff8a00;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 800;
}

.team-player-asset-status {
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.asset-status-empty {
    color: #777;
    font-size: 13px;
}

.team-player-actions button {
    width: 100%;
    border: 2px solid #ccc;
    background: #f7f7f7;
    color: #777;
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 800;
    cursor: not-allowed;
}

@media (max-width: 700px) {
    .team-player-assets-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .team-player-assets-header .graphic-actions,
    .team-player-assets-header .graphic-actions a,
    .team-player-assets-header .graphic-actions button {
        width: 100%;
    }
}

.team-action-bar {
    position: sticky;
    top: 88px;
    z-index: 900;
    margin: 0;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.team-action-bar__title {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.team-action-bar__title strong {
    font-size: 16px;
}

.team-action-bar__title span {
    font-size: 13px;
    color: #666;
}

.team-action-bar__actions {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.team-action-form {
    margin: 0;
    display: inline-flex;
}

.team-action-button {
    border: 2px solid #ffa500;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 14px;
    padding: 8px 12px;
    color: orange;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.team-action-button img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.team-action-button:hover {
    background: rgba(255, 165, 0, 0.18);
    border-color: #ff8a00;
}

@media (max-width: 700px) {
    .team-action-bar {
        display: none;
    }

    .team-action-bar__actions {
        width: 100%;
    }

    .team-action-button,
    .team-action-form {
        width: 100%;
    }

    .team-action-button {
        justify-content: center;
        box-sizing: border-box;
    }

    .fav_optionen_uebercontainer {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: column;
    }

    .optionen_uebercontainer {
        padding-left: 0;
    }

    .einstellungen_container {
        width: 95%;
    }

    .einstellungen-button {
        height: 40px;
    }

    .suchergebniss strong {
        font-size: 1.5em;
    }

    .suche_vereinslogo {
        width: 80px;
        height: 80px;
    }

    .match_patronanz_logo_text_container {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .patronanzen_verwalten_fenster {
        padding: 10px;
        margin-bottom: 15px;
        margin-right: 20px;
        border-color: rgb(155, 155, 155, 0.0);
        border-style: solid;
        border-radius: 10px;
        background-color: white;
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 20px;
        align-items: stretch;
        box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
        min-height: 60px;
        justify-content: space-between;
        flex-wrap: wrap;
    }
}

.team-player-assets-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-player-asset-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 10px;
    align-items: center;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 8px;
    background: #fafafa;
}

.team-player-asset-item.is-default {
    border-color: #ff8a00;
    background: rgba(255, 165, 0, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.12);
}

.team-player-asset-item img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
    background: #eee;
}

.team-player-asset-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.team-player-asset-info strong {
    font-size: 14px;
}

.team-player-asset-info span {
    font-size: 12px;
    color: #666;
}

.team-player-asset-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.team-player-asset-actions form {
    margin: 0;
}

.team-player-asset-actions button {
    border: 2px solid #ffa500;
    background: rgba(255, 165, 0, 0.1);
    color: orange;
    border-radius: 10px;
    padding: 6px 10px;
    font-weight: 800;
    cursor: pointer;
}

.team-player-asset-actions .asset-delete-button {
    border-color: #b00000;
    color: #b00000;
    background: rgba(176, 0, 0, 0.08);
}

.team-player-upload-details {
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.team-player-upload-details summary {
    cursor: pointer;
    list-style: none;
    color: #ff8a00;
    font-weight: 900;
    user-select: none;
}

.team-player-upload-details summary::-webkit-details-marker {
    display: none;
}

.team-player-upload-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.team-player-upload-form label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-weight: 800;
    font-size: 13px;
}

.team-player-upload-form input,
.team-player-upload-form select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #bbb;
    border-radius: 10px;
    font-size: 14px;
    padding: 9px;
}

.team-player-upload-drop {
    border: 2px dashed #ffa500;
    border-radius: 14px;
    padding: 12px;
    background: rgba(255, 165, 0, 0.06);
    cursor: pointer;
}

.team-player-upload-drop span {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(255, 165, 0, 0.14);
    color: #ff8a00;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
}

.team-player-upload-drop small {
    color: #777;
}

.team-player-upload-form button[type="submit"] {
    border: 2px solid #ffa500;
    background: #ff8a00;
    color: white;
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 900;
    cursor: pointer;
}

.goal-graphic-config-box {
    background: white;
    border-radius: 18px;
    padding: 16px;
    margin-top: 16px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.12);
}

.goal-graphic-config-form {
    display: block;
}

.header-back-button {

    border-radius: 14px;
    background: rgba(255,255,255,0.18);
    color: white;
    font-size: 45px;
    font-weight: 900;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.header-back-button:hover {
    background: rgba(255,255,255,0.28);
}

.graphic-title-option-compact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f7f7f7;
    border: 1px solid #e2e2e2;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 800;
}

.header-user-menu {
    margin-left: auto;
    padding-right: 12px;
    position: relative;
}

.user-dropdown {
    position: relative;
}

.user-dropdown summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    padding: 8px 10px;
    border-radius: 14px;
    user-select: none;
}

.user-dropdown summary::-webkit-details-marker {
    display: none;
}

.user-dropdown summary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.user-dropdown__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    color: #ff7a00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.user-dropdown__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    max-width: 210px;
}

.user-dropdown__text strong {
    font-size: 14px;
}

.user-dropdown__text small {
    font-size: 11px;
    opacity: 0.9;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown__arrow {
    transition: transform 0.2s ease;
}

.user-dropdown[open] .user-dropdown__arrow {
    transform: rotate(180deg);
}

.user-dropdown__panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 230px;
    background: white;
    color: #222;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
    padding: 8px;
    z-index: 2000;
}

.user-dropdown__panel a,
.user-dropdown__panel button {
    width: 100%;
    box-sizing: border-box;
    border: 0;
    background: transparent;
    color: #222;
    text-align: left;
    padding: 11px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: block;
    cursor: pointer;
    font-family: "OpenSans", sans-serif;
}

.user-dropdown__panel a:hover,
.user-dropdown__panel button:hover {
    background: rgba(255, 165, 0, 0.12);
    color: #ff7a00;
}

.user-dropdown__logout-form {
    display: block;
    margin: 6px 0 0 0;
    padding-top: 6px;
    border-top: 1px solid #eee;
}

.user-dropdown__dashboard_button {
    border-top: 1px solid #eee;
    padding-bottom: 3px;
    padding-top: 3px;
}

.user-dropdown__logout-form button {
    color: #b00000;
}

.user-dropdown__logout-form button:hover {
    background: rgba(176, 0, 0, 0.08);
    color: #b00000;
}

@media (max-width: 700px) {
    header {
        padding-left: 8px;
    }

    header img {
        height: 56px;
    }

    header h1 {
        font-size: 15px;
        max-width: 45vw;
    }

    .user-dropdown__text {
        display: none;
    }

    .user-dropdown__panel {
        right: 0;
        width: 220px;
    }

    .user-dropdown summary {
        padding: 6px;
        gap: 6px;
    }

    .user-dropdown__avatar {
        width: 34px;
        height: 34px;
    }
}

.footer_logo {
    height: 30px;

}

.reset-password-button-container {
    display: flex;
    flex-direction: row-reverse;
    margin-top: 30px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    max-width: 520px;
    margin-top: 24px;
}

.auth-form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 520px;
}

.auth-form-row label {
    font-weight: 700;
    color: #333;
}

.auth-form-row input {
    width: 100%;
    box-sizing: border-box;
    font-size: 18px;
    border: 1px solid #bbb;
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff;
}

.auth-form-row input:focus {
    outline: none;
    border-color: #ffa500;
    box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.16);
}

.auth-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.auth-submit-button {
    margin-left: 0;
    margin-bottom: 0;
    width: auto;
    justify-content: center;
}

.auth-secondary-link {
    color: #444;
    text-decoration: none;
    font-weight: 600;
}

.auth-secondary-link:hover {
    color: #ff7a00;
}

.form-errors,
.auth-form-row ul.errorlist {
    color: #b00000;
    margin: 4px 0 0 0;
    padding-left: 18px;
    font-size: 14px;
}

.match-action-panel {
    padding: 16px;
    margin-bottom: 15px;
    margin-right: 20px;
    border-radius: 14px;
    background-color: white;
    width: 100%;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.1);
}

.match-action-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
}

.match-action-panel__header h3 {
    margin: 0;
}

.match-action-panel__header p {
    margin: 0;
    color: #777;
    font-size: 14px;
}

.match-graphic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.match-graphic-grid .graphic-actions {
    width: 100%;
}

.match-graphic-grid .graphic-actions button {
    width: 100%;
    margin: 0;
    justify-content: flex-start;
    min-height: 58px;
}

.primary-graphic-action {
    background: rgba(255, 165, 0, 0.18) !important;
    border-color: #ff8a00 !important;
}

.lineup-overview-section {
    width: 100%;
    margin-bottom: 20px;
}

.lineup-overview-section > h3 {
    margin-left: 4px;
}

.empty-state-text {
    color: #777;
    font-style: italic;
    padding: 12px 0;
}

.match-events-section {
    width: 100%;
}

@media (max-width: 700px) {
    .aaa {
        width: calc(100% - 24px);
        margin: 12px;
    }

    .login-formular {
        width: 95%;
    }

    .match_titel_container {
        display: none;
        flex-direction: column;
        gap: 10px;
        text-align: center;
        width: auto;
    }

    .match_titel_container img {
        width: 72px;
    }

    .match_titel_container_mobile {
        display: flex;
    }

    .match_details_titel_text {
        margin-left: 0;
        margin-right: 0;
    }

    .match-action-panel {
        width: auto;
        margin-right: 0;
        padding: 14px;
    }

    .match-action-panel__header {
        flex-direction: column;
        gap: 4px;
    }

    .match-graphic-grid {
        grid-template-columns: 1fr;
    }

    .aufstellungen_container {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .aufstellung {
        width: auto;
        max-width: none;
        align-items: stretch;
    }

    .suchergebniss,
    .patronanz_fenster {
        width: auto;
        margin-right: 0;
    }

    .goal-details {
        width: 100%;
    }

    .goal-team-picker {
        grid-template-columns: 1fr;
    }

    .manual-goal-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

.patronage-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 220px));
    gap: 16px;
    align-items: start;
}

.patronage-card {
    border: 0;
    background: white;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.12);
    cursor: pointer;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.patronage-card:hover {
    transform: translateY(-2px);
    box-shadow: 2px 8px 18px rgba(0,0,0,0.16);
}

.patronage-card__logo {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    background: #f4f4f4;
    border: 1px solid #e1e1e1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.patronage-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    box-sizing: border-box;
}

.patronage-card__logo span {
    font-size: 42px;
    font-weight: 900;
    color: #ff8a00;
}

.patronage-card__name {
    margin-top: 12px;
    font-weight: 900;
    font-size: 16px;
    color: #111;
    line-height: 1.25;
}

.empty-state-card {
    background: white;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.12);
}

.patronage-detail-modal[hidden] {
    display: none;
}

.patronage-detail-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.patronage-detail-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.52);
    backdrop-filter: blur(4px);
}

.patronage-detail-modal__box {
    position: relative;
    background: white;
    width: min(92vw, 520px);
    max-height: 88vh;
    overflow-y: auto;
    margin: 7vh auto 0 auto;
    padding: 20px;
    border-radius: 24px;
    box-shadow: 0 18px 60px rgba(0,0,0,0.28);
}

.patronage-detail-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.patronage-detail-modal__header h3 {
    margin: 0;
    font-size: 24px;
}

.patronage-detail-modal__close {
    border: 0;
    background: #f2f2f2;
    color: #333;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.patronage-detail-modal__logo-wrap {
    width: 180px;
    height: 180px;
    margin: 0 auto 18px auto;
    border-radius: 18px;
    background: #f4f4f4;
    border: 1px solid #e1e1e1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.patronage-detail-modal__logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    box-sizing: border-box;
}

.patronage-detail-modal__placeholder {
    font-size: 58px;
    font-weight: 900;
    color: #ff8a00;
}

.patronage-detail-modal__info {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.patronage-detail-modal__info div {
    background: #f7f7f7;
    border-radius: 14px;
    padding: 12px;
}

.patronage-detail-modal__info strong {
    display: block;
    margin-bottom: 4px;
}

.patronage-detail-modal__info p {
    margin: 0;
    line-height: 1.4;
    white-space: pre-wrap;
}

.patronage-detail-modal__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.patronage-modal-action {
    border: 2px solid #ffa500;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 14px;
    padding: 10px 12px;
    color: orange;
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.patronage-modal-action img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.patronage-modal-action--delete {
    border-color: #b00000;
    color: #b00000;
    background: rgba(176, 0, 0, 0.08);
}
@media (max-width: 700px) {
    .patronage-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .patronage-card {
        min-height: 175px;
        padding: 10px;
    }

    .patronage-card__name {
        font-size: 14px;
    }

    .patronage-detail-modal__box {
        width: auto;
        margin: 0;
        min-height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        padding: 16px;
    }

    .patronage-detail-modal__actions {
        grid-template-columns: 1fr;
    }
}

.patronage-form-card {
    width: min(100%, 860px);
    background: white;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.12);
}

.patronage-form {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 26px;
    align-items: start;
    margin: 0;
}

.patronage-form__preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.patronage-form__preview p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

.patronage-logo-preview {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    background: #f4f4f4;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.patronage-logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    box-sizing: border-box;
}

.patronage-logo-preview span {
    color: #aaa;
    font-weight: 900;
    font-size: 32px;
}

.patronage-form__fields {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.patronage-form-row {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.patronage-form-row label {
    font-weight: 900;
}

.patronage-form-row input[type="text"],
.patronage-form-row textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #bbb;
    border-radius: 14px;
    font-size: 17px;
    padding: 11px 12px;
    background: white;
}

.patronage-form-row textarea {
    min-height: 130px;
    resize: vertical;
}

.patronage-form-row input[type="text"]:focus,
.patronage-form-row textarea:focus {
    outline: none;
    border-color: #ffa500;
    box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.16);
}

.patronage-upload-drop {
    border: 2px dashed #ffa500;
    border-radius: 18px;
    padding: 16px;
    background: rgba(255, 165, 0, 0.06);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.patronage-upload-drop strong {
    color: #222;
}

.patronage-upload-drop small {
    color: #666;
}

.patronage-upload-drop input[type="file"] {
    width: 100%;
    margin-top: 10px;
    font-size: 14px;
    border: 0;
    padding: 0;
    background: transparent;
}

.patronage-active-box {
    display: flex;
    gap: 12px;
    align-items: center;
    background: rgba(255, 165, 0, 0.08);
    border: 1px solid rgba(255, 165, 0, 0.25);
    border-radius: 16px;
    padding: 12px;
}

.patronage-active-box p {
    margin: 2px 0 0 0;
    color: #666;
    font-size: 14px;
}

.patronage-active-toggle {
    position: relative;
    width: 62px;
    height: 34px;
    flex: 0 0 auto;
}

.patronage-active-toggle input {
    display: none;
}

.patronage-active-toggle span {
    position: absolute;
    inset: 0;
    background: #b9b9b9;
    border-radius: 999px;
    cursor: pointer;
    transition: 0.2s ease;
}

.patronage-active-toggle span::before {
    content: "";
    position: absolute;
    width: 28px;
    height: 28px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.28);
    transition: 0.2s ease;
}

.patronage-active-toggle input:checked + span {
    background: #ff8a00;
}

.patronage-active-toggle input:checked + span::before {
    transform: translateX(28px);
}

.patronage-form-actions {
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid #eee;
    padding-top: 18px;
}

.patronage-save-button {
    border: 2px solid #ffa500;
    background: #ff8a00;
    color: white;
    border-radius: 14px;
    padding: 11px 16px;
    font-weight: 900;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.patronage-save-button img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

@media (max-width: 700px) {
    .patronage-form-card {
        width: auto;
        padding: 16px;
        border-radius: 18px;
    }

    .patronage-form {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .patronage-logo-preview {
        max-width: 220px;
        margin: 0 auto;
    }

    .patronage-form__preview p {
        text-align: center;
    }

    .patronage-form-actions {
        justify-content: stretch;
    }

    .patronage-save-button {
        width: 100%;
        justify-content: center;
    }
}

.delete-confirm-card {
    width: min(100%, 720px);
    background: white;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 2px 2px 12px rgba(0,0,0,0.14);
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 20px;
    border: 1px solid rgba(176, 0, 0, 0.12);
    width: 90%;
}

.delete-confirm-icon {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: rgba(176, 0, 0, 0.10);
    color: #b00000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 900;
}

.delete-confirm-content h2 {
    margin: 0 0 10px 0;
    font-size: 26px;
}

.delete-confirm-content p {
    margin: 0 0 10px 0;
    line-height: 1.45;
}

.delete-confirm-warning {
    color: #b00000;
    font-weight: 800;
}

.delete-confirm-preview {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 16px;
    align-items: center;
    background: #f7f7f7;
    border-radius: 18px;
    padding: 14px;
    margin: 18px 0;
}

.delete-confirm-logo {
    width: 110px;
    height: 110px;
    border-radius: 16px;
    background: white;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.delete-confirm-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    box-sizing: border-box;
}

.delete-confirm-logo span {
    font-size: 42px;
    font-weight: 900;
    color: #ff8a00;
}

.delete-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.delete-confirm-form {
    display: inline-flex;
    margin: 0;
}

.delete-confirm-cancel,
.delete-confirm-submit {
    border-radius: 14px;
    padding: 11px 15px;
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "OpenSans", sans-serif;
    font-size: 15px;
}

.delete-confirm-cancel {
    border: 2px solid #aaa;
    background: #f7f7f7;
    color: #444 !important;
}

.delete-confirm-submit {
    border: 2px solid #b00000;
    background: rgba(176, 0, 0, 0.08);
    color: #b00000;
}

.delete-confirm-submit:hover {
    background: #b00000;
    color: white;
}

.delete-confirm-cancel img,
.delete-confirm-submit img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.schedule-list-item {
    background: white;
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 12px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.10);
    border: 2px solid transparent;

    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
}

.schedule-list-item.last-played-match {
    scroll-margin-top: 170px;
    border-color: #ff9900;
    background: rgba(255, 165, 0, 0.10);
}

.schedule-list-logos {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-right: 12px;
    border-right: 1px solid #222;
    flex-shrink: 0;
}

.schedule-list-logos img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.schedule-list-logos span {
    font-weight: 900;
}

.schedule-list-main {
    min-width: 0;
}

.schedule-list-date {
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 3px;
}

.schedule-list-teams {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.schedule-list-meta {
    color: #666;
    font-size: 13px;
    line-height: 1.3;
    margin-top: 3px;
}

.schedule-list-side {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 90px;
}

.schedule-list-result {
    font-weight: 900;
    font-size: 18px;
    color: #ff8a00;
    white-space: nowrap;
}

.schedule-list-mobile-result {
    display: none;
}

.schedule-list-badge {
    font-size: 12px;
    font-weight: 900;
    font-style: italic;
    white-space: nowrap;
}

.schedule-list-patronage {
    max-width: 64px;
    max-height: 42px;
    object-fit: contain;
}

.schedule-list-item {
    background: white;
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 12px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.10);
    border: 2px solid transparent;

    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
}

.schedule-list-item.last-played-match {
    scroll-margin-top: 170px;
    border-color: #ff9900;
    background: rgba(255, 165, 0, 0.10);
}

.schedule-list-logos {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-right: 12px;
    border-right: 1px solid #222;
    flex-shrink: 0;
}

.schedule-list-logos img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.schedule-list-logos span {
    font-weight: 900;
}

.schedule-list-main {
    min-width: 0;
}

.schedule-list-date {
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 3px;
}

.schedule-list-teams {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.schedule-list-meta {
    color: #666;
    font-size: 13px;
    line-height: 1.3;
    margin-top: 3px;
}

.schedule-list-side {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 90px;
}

.schedule-list-mobile-result {
    display: none;
}

.schedule-list-badge {
    font-size: 12px;
    font-weight: 900;
    font-style: italic;
    white-space: nowrap;
}

.schedule-list-patronage {
    max-width: 64px;
    max-height: 42px;
    object-fit: contain;
}

@media (max-width: 700px) {
    .schedule-list-item {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px;
        border-radius: 14px;
        align-items: stretch;
    }

    .schedule-list-logos {
        justify-content: center;
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.12);
        padding-right: 0;
        padding-bottom: 8px;
        margin-bottom: 2px;
        gap: 8px;
    }

    .schedule-list-logos img {
        width: 46px;
        height: 46px;
        object-fit: contain;
    }

    .schedule-list-logos span {
        font-size: 18px;
        font-weight: 900;
    }

    .schedule-list-main {
        text-align: center;
        width: 100%;
    }

    .schedule-list-date {
        font-size: 14px;
        font-weight: 900;
        line-height: 1.25;
        margin-bottom: 5px;
    }

    .schedule-list-teams {
        font-size: 15px;
        font-weight: 900;
        line-height: 1.25;
        overflow-wrap: anywhere;
        margin-bottom: 4px;
    }

    .schedule-list-meta {
        font-size: 12px;
        line-height: 1.25;
        color: #666;
    }

    .schedule-list-mobile-result {
        display: inline-block;
        margin-top: 6px;
        font-weight: 900;
        color: #ff8a00;
        font-size: 16px;
    }

    .schedule-list-side {
        grid-column: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-top: 4px;
        min-width: 0;
    }

    .schedule-list-result {
        display: none;
    }

    .schedule-list-patronage {
        max-width: 54px;
        max-height: 34px;
        object-fit: contain;
    }

    .schedule-list-badge {
        font-size: 11px;
        text-align: center;
    }
}

.schedule-list-side {
    display: grid;
    grid-template-columns: 92px 76px;
    align-items: center;
    justify-content: end;
    gap: 10px;
    min-width: 180px;
}

.schedule-list-result-slot {
    display: flex;
    justify-content: center;
    align-items: center;
}

.schedule-list-extra-slot {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 76px;
}

.schedule-list-result {
    font-weight: 900;
    font-size: 18px;
    color: #ff8a00;
    white-space: nowrap;
    text-align: center;
}

@media (max-width: 700px) {
    .schedule-list-side {
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 0;
        margin-top: 4px;
    }

    .schedule-list-result-slot {
        display: none;
    }

    .schedule-list-extra-slot {
        min-width: 0;
    }

    .schedule-list-result {
        display: none;
    }
}

.patronage-select-header {
    width: 100%;
    max-width: 980px;
    background: white;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 18px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.patronage-select-header h2 {
    margin: 0 0 4px 0;
}

.patronage-select-header p {
    margin: 0;
    color: #666;
}

.patronage-select-back {
    border: 2px solid #ffa500;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 14px;
    padding: 10px 14px;
    color: orange !important;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.match-patronage-select-form {
    display: block;
    margin: 0;
}

.match-patronage-caption-box {
    margin-top: 16px;
    background: rgba(255, 165, 0, 0.08);
    border: 1px solid rgba(255, 165, 0, 0.25);
    border-radius: 16px;
    padding: 14px;
}

.match-patronage-caption-box label {
    display: block;
    font-weight: 900;
    margin-bottom: 6px;
}

.match-patronage-caption-box input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #bbb;
    border-radius: 12px;
    font-size: 18px;
    padding: 10px 12px;
    background: white;
}

.match-patronage-caption-box input[type="text"]:focus {
    outline: none;
    border-color: #ffa500;
    box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.16);
}

.match-patronage-caption-toggle {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 0 !important;
    font-weight: 800;
}

.match-patronage-caption-toggle input {
    width: auto;
    margin: 0;
}

.patronage-modal-action--primary {
    background: #ff8a00;
    color: white;
    border-color: #ff8a00;
}

.patronage-modal-action--secondary {
    border-color: #aaa;
    color: #444;
    background: #f7f7f7;
}

button.patronage-modal-action {
    font-family: "OpenSans", sans-serif;
    font-size: 15px;
}

@media (max-width: 700px) {
    .patronage-select-header {
        width: auto;
        flex-direction: column;
        align-items: flex-start;
        padding: 14px;
    }

    .patronage-select-back {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .match-patronage-caption-box input[type="text"] {
        font-size: 16px;
    }

    .match-patronage-select-form .patronage-detail-modal__actions {
        grid-template-columns: 1fr;
    }
}

.match-patronage-card {
    width: 100%;
    max-width: none;
    margin-right: 20px;
    background: white;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 18px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.12);
    box-sizing: border-box;
}

.match-patronage-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.match-patronage-card__eyebrow {
    margin: 0 0 3px 0;
    color: #ff8a00;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.match-patronage-card__header h3 {
    margin: 0;
}

.match-patronage-card__change {
    border: 2px solid #ffa500;
    background: rgba(255, 165, 0, 0.1);
    color: orange !important;
    border-radius: 14px;
    padding: 9px 12px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.match-patronage-card__body {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 16px 0;
}

.match-patronage-card__logo {
    width: 130px;
    height: 130px;
    border-radius: 16px;
    background: #f4f4f4;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.match-patronage-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    box-sizing: border-box;
}

.match-patronage-card__logo span {
    font-size: 42px;
    font-weight: 900;
    color: #ff8a00;
}

.match-patronage-card__content {
    min-width: 0;
}

.match-patronage-card__content strong {
    font-size: 22px;
}

.match-patronage-card__content p {
    margin: 8px 0 0 0;
    line-height: 1.4;
}

.match-patronage-card__muted {
    color: #777;
    font-style: italic;
}

.match-patronage-caption-preview {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    background: rgba(255, 165, 0, 0.08);
    border: 1px solid rgba(255, 165, 0, 0.25);
    border-radius: 999px;
    padding: 7px 11px;
}

.match-patronage-caption-preview span {
    color: #777;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.match-patronage-caption-preview strong {
    font-size: 14px;
}

.match-patronage-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.match-patronage-settings {
    flex: 1;
}

.match-patronage-settings summary {
    list-style: none;
    cursor: pointer;
    border: 2px solid #ffa500;
    background: rgba(255, 165, 0, 0.1);
    color: orange;
    border-radius: 14px;
    padding: 9px 12px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    user-select: none;
}

.match-patronage-settings summary::-webkit-details-marker {
    display: none;
}

.match-patronage-settings summary::after {
    content: "▾";
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.match-patronage-settings[open] summary::after {
    transform: rotate(180deg);
}

.match-patronage-settings__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: end;
    margin-top: 12px;
    background: #f7f7f7;
    border-radius: 16px;
    padding: 12px;
}

.match-patronage-settings__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.match-patronage-settings__field label {
    font-weight: 900;
    font-size: 13px;
}

.match-patronage-settings__field input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #bbb;
    border-radius: 12px;
    font-size: 16px;
    padding: 10px 12px;
    background: white;
}

.match-patronage-settings__field input[type="text"]:focus {
    outline: none;
    border-color: #ffa500;
    box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.16);
}

.match-patronage-settings__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    white-space: nowrap;
    margin-bottom: 10px;
}

.match-patronage-settings__toggle input {
    width: auto;
    margin: 0;
}

.match-patronage-save-button,
.match-patronage-remove-button {
    border-radius: 14px;
    padding: 9px 12px;
    font-weight: 900;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "OpenSans", sans-serif;
    font-size: 14px;
}

.match-patronage-save-button {
    border: 2px solid #ffa500;
    background: #ff8a00;
    color: white;
}

.match-patronage-remove-form {
    display: inline-flex;
    margin: 0;
}

.match-patronage-remove-button {
    border: 2px solid #b00000;
    background: rgba(176, 0, 0, 0.08);
    color: #b00000;
}

.match-patronage-save-button img,
.match-patronage-remove-button img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.match-patronage-empty {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0 4px 0;
}

.match-patronage-empty__icon {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: rgba(255, 165, 0, 0.14);
    color: #ff8a00;
    font-size: 32px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.match-patronage-empty p {
    margin: 4px 0 0 0;
    color: #666;
}

@media (max-width: 700px) {
    .match-patronage-card {
        padding: 14px;
        border-radius: 16px;
    }

    .match-patronage-card__header {
        flex-direction: column;
        gap: 10px;
    }

    .match-patronage-card__change {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .match-patronage-card__body {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
        gap: 12px;
    }

    .match-patronage-card__logo {
        width: 150px;
        height: 150px;
    }

    .match-patronage-card__content strong {
        font-size: 20px;
    }

    .match-patronage-card__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .match-patronage-settings summary {
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
    }

    .match-patronage-settings__form {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .match-patronage-settings__toggle {
        margin-bottom: 0;
    }

    .match-patronage-save-button,
    .match-patronage-remove-button,
    .match-patronage-remove-form {
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
    }

    .match-patronage-empty {
        flex-direction: column;
        text-align: center;
    }
}

.match-patronage-card,
.match-action-panel,
.lineup-overview-section,
.match-events-section,
.manual-goals-box,
.suchergebniss {
    box-sizing: border-box;
}

@media (max-width: 700px) {
    .match-patronage-card,
    .match-action-panel,
    .match_titel_container_mobile,
    .suchergebniss {
        width: 100%;
        margin-right: 0;
        box-sizing: border-box;
    }
}

.match_titel_container,
.match_titel_container_mobile,
.suchergebniss,
.match-patronage-card,
.match-action-panel {
    width: 100%;
    box-sizing: border-box;
    margin-right: 0;
}

.graphic-result-page {
    width: min(100% - 24px, 900px);
    margin: 20px auto 70px auto;
}

.graphic-result-card {
    background: white;
    border-radius: 22px;
    padding: 18px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.14);
}

.graphic-result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eee;
    margin-bottom: 16px;
}

.graphic-result-header h2 {
    margin: 0;
}

.graphic-result-image-wrap {
    display: flex;
    justify-content: center;
    background: #f2f2f2;
    border-radius: 18px;
    padding: 14px;
}

.graphic-result-image {
    width: min(100%, 640px);
    height: auto;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    background: white;
}

.graphic-result-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.graphic-result-button {
    border: 2px solid #ffa500;
    background: rgba(255, 165, 0, 0.1);
    color: orange !important;
    border-radius: 14px;
    padding: 11px 15px;
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: "OpenSans", sans-serif;
    font-size: 15px;
}

.graphic-result-button img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.graphic-result-button--primary {
    background: #ff8a00;
    color: white !important;
    border-color: #ff8a00;
}

.graphic-result-button--secondary {
    border-color: #aaa;
    background: #f7f7f7;
    color: #444 !important;
}

.graphic-result-hint {
    margin: 14px 0 0 0;
    color: #777;
    font-size: 14px;
}

@media (max-width: 700px) {
    .graphic-result-page {
        width: calc(100% - 20px);
        margin: 12px auto 70px auto;
    }

    .graphic-result-card {
        padding: 12px;
        border-radius: 18px;
    }

    .graphic-result-image-wrap {
        padding: 8px;
    }

    .graphic-result-image {
        width: 100%;
        border-radius: 12px;
    }

    .graphic-result-actions {
        flex-direction: column;
    }

    .graphic-result-button {
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 700px) {
    .graphic-result-download-button {
        display: none;
    }
}

.background-management-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 18px;
    width: 100%;
    box-sizing: border-box;
    align-items: stretch;
}

.background-management-card {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
}

.background-management-card > img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    display: block;
}

.background-management-info {
    padding: 12px 12px 4px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.background-management-info strong {
    font-size: 16px;
    line-height: 1.25;
}

.background-management-info span {
    font-size: 13px;
    color: #777;
}

.background-management-card form {
    margin: auto 12px 14px 12px;
}

.background-delete-button {
    border: 2px solid #b00000;
    background: rgba(176, 0, 0, 0.06);
    color: #b00000;
    border-radius: 12px;
    padding: 9px 13px;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 700px) {
    .background-management-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .background-management-card {
        border-radius: 14px;
    }

    .background-management-info {
        padding: 10px 10px 4px 10px;
    }

    .background-management-info strong {
        font-size: 14px;
    }

    .background-management-info span {
        font-size: 12px;
    }

    .background-management-card form {
        margin: auto 10px 12px 10px;
    }

    .background-delete-button {
        width: 100%;
        padding: 8px 10px;
    }
}

body.is-pwa header {
    padding-top: env(safe-area-inset-top);
}

body.is-pwa {
    padding-bottom: env(safe-area-inset-bottom);
}

.user-dropdown__install-button {
    width: 100%;
    box-sizing: border-box;
    border: 0;
    background: transparent;
    color: var(--mf-panel-text, #222);
    text-align: left;
    padding: 11px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: block;
    cursor: pointer;
    font-family: "OpenSans", sans-serif;
}

.user-dropdown__install-button:hover {
    background: rgba(255, 165, 0, 0.12);
    color: #ff7a00;
}

.dashboard-install-panel {
    margin: 16px 0 22px 0;
    max-width: 560px;
}

.dashboard-install-button {
    width: 100%;
    border: 2px solid #ffa500;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.16), rgba(255, 255, 255, 0.92));
    color: #222;
    border-radius: 18px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.10);
    font-family: "OpenSans", sans-serif;
    text-align: left;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.dashboard-install-button:hover {
    transform: translateY(-1px);
    box-shadow: 2px 8px 18px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.24), rgba(255, 255, 255, 1));
}

.dashboard-install-button__icon {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: #ff8a00;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 900;
    flex: 0 0 auto;
}

.dashboard-install-button strong {
    display: block;
    font-size: 16px;
    font-weight: 900;
    color: #111;
}

.dashboard-install-button small {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: #666;
    line-height: 1.3;
}

@media (max-width: 700px) {
    .dashboard-install-panel {
        max-width: none;
        margin: 14px 0 20px 0;
    }

    .dashboard-install-button {
        padding: 12px;
        border-radius: 16px;
    }

    .dashboard-install-button__icon {
        width: 42px;
        height: 42px;
        font-size: 24px;
    }

    .dashboard-install-button strong {
        font-size: 15px;
    }

    .dashboard-install-button small {
        font-size: 12px;
    }
}

.dashboard-install-button[hidden] {
    display: none !important;
}

.user-dropdown__install-button[hidden],
.dashboard-install-button[hidden] {
    display: none !important;
}

.offline-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #ffa742 0%, #f2f2f2 42%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.offline-shell {
    width: min(90vw, 420px);
    background: white;
    border-radius: 24px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: 0 18px 50px rgba(0,0,0,0.20);
}

.offline-shell img {
    width: 110px;
    height: auto;
    margin-bottom: 16px;
}

.offline-shell h1 {
    margin: 0 0 10px 0;
    font-size: 26px;
}

.offline-shell p {
    margin: 0;
    color: #555;
    line-height: 1.45;
}

.offline-retry-button {
    margin-top: 22px;
    border: 2px solid #ff8a00;
    background: #ff8a00;
    color: white;
    border-radius: 14px;
    padding: 12px 18px;
    font-weight: 900;
    font-family: "OpenSans", sans-serif;
    cursor: pointer;
}

@media (max-width: 700px) {
    .fav_optionen_uebercontainer {
        display: block;
        width: 100%;
    }

    .fav_uebercontainer {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .favoriten_container {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-start;
        gap: 14px;

        overflow-x: auto;
        overflow-y: hidden;

        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;

        padding: 0 18px 16px 0;
        margin-right: -10px;
    }

    .favoriten_container a {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .favoriten_kachel {
        flex: 0 0 auto;
        width: 150px;
        height: 210px;
        margin-right: 0;
        margin-bottom: 0;
        box-sizing: border-box;
    }

    .favoriten_kachel img {
        height: 100px;
        width: 100px;
        max-width: 100px;
        object-fit: contain;
    }

    .optionen_uebercontainer {
        width: 100%;
        padding-left: 0;
        margin-top: 28px;
    }

    .einstellungen_container {
        width: 100%;
        box-sizing: border-box;
    }
}
/*Zum Deaktivieren des Scrollbalkens im Dashboard - Favoriten in der Mobilansicht
/*@media (max-width: 700px) {
    .favoriten_container {
        scrollbar-width: none;
    }

    .favoriten_container::-webkit-scrollbar {
        display: none;
    }
}
    */

.graphic-action-warning {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 6px;
    border-radius: 999px;
    background: #d60000;
    color: white;
    font-size: 11px;
    font-weight: 900;
}

#graphic-extra-info {
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #eee;
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 16px;
    font-family: "OpenSans", sans-serif;
}

.graphic-config-hint {
    display: block;
    margin-top: 6px;
    color: #777;
    font-size: 12px;
}

.organization-status-card {
    width: 100%;
    box-sizing: border-box;
    margin: 24px 0 24px 0;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.organization-status-main {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.organization-status-label {
    margin: 0 0 4px 0;
    opacity: 0.75;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.organization-status-card h2 {
    margin: 0;
}

.organization-status-role {
    margin: 6px 0 0 0;
    opacity: 0.85;
}

.organization-status-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.organization-status-meta span {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 700px) {
    .organization-status-main {
        display: block;
    }

    .organization-status-meta {
        justify-content: flex-start;
        margin-top: 14px;
    }
}

.matchfox-messages {
    max-width: 1100px;
    margin: 16px auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.matchfox-message {
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #000000;
}

.matchfox-message--success {
    background: rgba(46, 204, 113, 0.16);
    border-color: rgba(46, 204, 113, 0.45);
}

.matchfox-message--error {
    background: rgba(231, 76, 60, 0.16);
    border-color: rgba(231, 76, 60, 0.45);
}

.matchfox-message--warning {
    background: rgba(241, 196, 15, 0.16);
    border-color: rgba(241, 196, 15, 0.45);
}

.matchfox-message--info {
    background: rgba(52, 152, 219, 0.16);
    border-color: rgba(52, 152, 219, 0.45);
}

.matchfox-toast-container {
    position: fixed;
    top: 110px;
    right: 24px;
    z-index: 9999;
    width: min(420px, calc(100vw - 32px));
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.matchfox-toast {
    position: relative;
    padding: 14px 44px 14px 18px;
    border-radius: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: #111;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(0, 0, 0, 0.08);
    animation: matchfoxToastIn 0.22s ease-out;
    pointer-events: auto;
}

.matchfox-toast--success {
    background: #d9f3df;
    border-color: #8fd29d;
}

.matchfox-toast--error {
    background: #ffe0df;
    border-color: #e5928d;
}

.matchfox-toast--warning {
    background: #fff1c7;
    border-color: #e7c765;
}

.matchfox-toast--info {
    background: #dcecff;
    border-color: #8cb9ef;
}

.matchfox-toast__close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.6;
}

.matchfox-toast__close:hover {
    opacity: 1;
}

.matchfox-toast--hide {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

@keyframes matchfoxToastIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 700px) {
    .matchfox-toast-container {
        top: 86px;
        right: 12px;
        left: 12px;
        width: auto;
    }

    .matchfox-toast {
        border-radius: 12px;
        font-size: 14px;
    }
}