/* Tipp-King Frontend-Direktbearbeitung + Spieltagssieger Layout */
.frontend-editor-adminbar{position:fixed;right:16px;bottom:16px;z-index:99990;display:flex;align-items:center;gap:12px;padding:10px 13px;border-radius:11px;background:#102f45;color:#fff;box-shadow:0 12px 32px rgba(0,0,0,.22);font-size:12px}.frontend-editor-adminbar strong{white-space:nowrap}.frontend-editor-toggle-form{margin:0!important}.frontend-editor-toggle-form label{display:flex;align-items:center;gap:6px;cursor:pointer;margin:0!important}.frontend-editor-adminbar span{color:#aac5d5}.frontend-editable-text{outline:2px dashed #e4a332!important;outline-offset:4px;cursor:pointer!important;border-radius:3px}.frontend-editable-text:hover{outline-color:#176f9d!important;background:rgba(23,111,157,.07)!important}
.frontend-editor-modal[hidden]{display:none!important}.frontend-editor-modal{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:20px;background:rgba(9,30,43,.58)}.frontend-editor-dialog{width:min(620px,100%);padding:18px;background:#fff;border-radius:14px;box-shadow:0 24px 70px rgba(0,0,0,.28);color:#163247}.frontend-editor-dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.frontend-editor-dialog-head button{border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer}.frontend-editor-dialog textarea{width:100%;min-height:150px;box-sizing:border-box;padding:11px;border:1px solid #cad7df;border-radius:9px;font:inherit;resize:vertical}.frontend-editor-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:12px}
.tk-winner-panel{grid-template-columns:minmax(0,1fr)!important}.tk-winner-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;align-items:stretch!important}.tk-winner-item{width:auto!important;min-width:0!important;margin:0!important}
@media(max-width:700px){.frontend-editor-adminbar{left:10px;right:10px;bottom:10px;justify-content:space-between}.frontend-editor-adminbar span{display:none}.tk-winner-list{grid-template-columns:1fr!important}}


/* Automatisch erkannte statische Frontend-Texte */
.frontend-auto-editable{
    outline:2px dashed #e4a332 !important;
    outline-offset:4px;
    cursor:text !important;
    border-radius:3px;
}
.frontend-auto-editable:hover{
    outline-color:#176f9d !important;
    background:rgba(23,111,157,.07) !important;
}


/* Direktbearbeitung: individuelle Schriftfarbe je Textbereich */
.frontend-editor-color-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-top:14px;
    padding:13px;
    border:1px solid #d7e1e7;
    border-radius:10px;
    background:#f7fafc;
}
.frontend-editor-color-row label{
    display:flex !important;
    flex-direction:column;
    gap:2px;
    margin:0 !important;
    color:#163247 !important;
}
.frontend-editor-color-row label small{
    color:#6d8190 !important;
    font-weight:400;
}
.frontend-editor-color-controls{
    display:flex;
    align-items:center;
    gap:8px;
}
.frontend-editor-color-controls input[type=color]{
    width:48px;
    height:42px;
    min-width:48px;
    padding:3px;
    border:1px solid #c7d5de;
    border-radius:8px;
    background:#fff;
    cursor:pointer;
}
.frontend-editor-color-controls input[type=text]{
    width:96px;
    box-sizing:border-box;
    padding:9px 10px;
    border:1px solid #c7d5de;
    border-radius:8px;
    background:#fff;
    color:#163247 !important;
    font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
    text-transform:uppercase;
}
.frontend-editor-color-preview{
    margin-top:10px;
    padding:10px 12px;
    border:1px dashed #cad7df;
    border-radius:9px;
    background:#fff;
    font-weight:800;
}
.frontend-editor-color-preview.is-default{
    color:#6d8190 !important;
    font-weight:600;
}
@media(max-width:620px){
    .frontend-editor-color-row{
        align-items:flex-start;
        flex-direction:column;
    }
    .frontend-editor-color-controls{
        width:100%;
        flex-wrap:wrap;
    }
    .frontend-editor-color-controls input[type=text]{
        flex:1;
        min-width:100px;
    }
}
