:root{
    --lt-green:#008537;
    --lt-green-dark:#006c2d;
    --lt-bg:#f5f7f6;
    --lt-border:#dce4df;
    --lt-text:#17211b;
    --lt-muted:#68736c;
    --lt-danger:#b42318;
}
.lt-app, .lt-admin{box-sizing:border-box;color:var(--lt-text)}
.lt-app *,.lt-admin *{box-sizing:border-box}
.lt-app{max-width:none;width:100%;margin:18px auto 32px;padding:0 18px;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.lt-app-header{display:flex;justify-content:space-between;gap:20px;align-items:center;background:linear-gradient(135deg,var(--lt-green),var(--lt-green-dark));color:#fff;padding:22px;border-radius:22px;margin-bottom:16px}
.lt-app-header h1{margin:2px 0 0;font-size:28px;color:#fff}
.lt-kicker{font-size:13px;opacity:.85;text-transform:uppercase;letter-spacing:.08em}
.lt-user{font-size:14px;background:rgba(255,255,255,.14);padding:8px 12px;border-radius:999px}
.lt-toolbar,.lt-card{background:#fff;border:1px solid var(--lt-border);border-radius:18px;padding:16px;box-shadow:0 8px 28px rgba(0,0,0,.04)}
.lt-toolbar{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:12px;margin-bottom:14px}
.lt-toolbar label,.lt-entry-row label,.lt-ranking-filter label,.lt-form-grid label{display:flex;flex-direction:column;gap:6px}
.lt-toolbar span,.lt-entry-row label>span,.lt-ranking-filter span,.lt-form-grid span{font-size:12px;font-weight:700;color:var(--lt-muted);text-transform:uppercase;letter-spacing:.04em}
.lt-toolbar input,.lt-toolbar select,.lt-entry-row input,.lt-entry-row select,.lt-ranking-filter select,.lt-form-grid input{
    width:100%;min-height:44px;border:1px solid var(--lt-border);border-radius:12px;padding:9px 11px;background:#fff
}
.lt-tabs{display:flex;gap:8px;margin:14px 0}
.lt-tab{border:0;background:#e9efeb;border-radius:999px;padding:10px 16px;font-weight:700;cursor:pointer}
.lt-tab.is-active{background:var(--lt-green);color:#fff}
.lt-tab-panel{display:none}
.lt-tab-panel.is-active{display:block}
.lt-student-list{display:grid;gap:10px}
.lt-student-card{background:#fff;border:1px solid var(--lt-border);border-radius:18px;padding:14px 14px 12px;transition:.15s ease}
.lt-student-card.is-saved{border-color:#a9d7bb;background:#f7fcf9}
.lt-student-main{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}
.lt-student-name{font-size:18px;font-weight:800}
.lt-student-meta{display:flex;align-items:center;gap:8px;color:var(--lt-muted);font-size:13px}
.lt-badge{background:#e2f4e9;color:var(--lt-green-dark);font-weight:800;border-radius:999px;padding:4px 8px}
.lt-entry-row{display:grid;grid-template-columns:140px 1fr 150px;gap:10px;align-items:end}
.lt-entry-row .lt-save{height:44px;border-radius:12px;background:var(--lt-green)!important;border-color:var(--lt-green)!important;color:#fff!important;font-weight:800}
.lt-save-status{min-height:18px;margin-top:7px;font-size:13px;font-weight:700}
.lt-save-status.is-success{color:var(--lt-green)}
.lt-save-status.is-error{color:var(--lt-danger)}
.lt-empty{padding:28px;text-align:center;background:#fff;border:1px dashed var(--lt-border);border-radius:18px;color:var(--lt-muted)}
.lt-ranking-filter{margin-bottom:12px;display:flex;justify-content:flex-end}
.lt-ranking-filter label{min-width:240px}
.lt-ranking-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:14px}
.lt-card{margin-bottom:14px}
.lt-card h2{margin-top:0}
.lt-help{color:var(--lt-muted);font-size:13px}
.lt-table-wrap{overflow:auto}
.lt-ranking-table{width:100%;border-collapse:collapse}
.lt-ranking-table th,.lt-ranking-table td{padding:10px 9px;border-bottom:1px solid #edf1ee;text-align:left;white-space:nowrap}
.lt-ranking-table th{font-size:12px;text-transform:uppercase;color:var(--lt-muted)}
.lt-login-box{max-width:460px;margin:40px auto;background:#fff;border:1px solid var(--lt-border);border-radius:20px;padding:22px}
.lt-login-box input[type=text],.lt-login-box input[type=password]{width:100%;min-height:44px}
.lt-admin .lt-card{max-width:1200px}
.lt-form-grid{display:grid;grid-template-columns:1.4fr 1fr auto;gap:12px;align-items:end}
.lt-heading-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
#lt-ranking-content.is-loading{opacity:.55;pointer-events:none}
@media(max-width:800px){
    .lt-app{margin-top:10px;padding:0 8px}
    .lt-app-header{border-radius:16px;padding:16px}
    .lt-user{display:none}
    .lt-toolbar{grid-template-columns:1fr 1fr}
    .lt-search-label{grid-column:1/-1}
    .lt-ranking-grid{grid-template-columns:1fr}
    .lt-entry-row{grid-template-columns:110px 1fr}
    .lt-entry-row .lt-save{grid-column:1/-1}
    .lt-form-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
    .lt-toolbar{grid-template-columns:1fr}
    .lt-search-label{grid-column:auto}
    .lt-entry-row{grid-template-columns:1fr 1fr}
    .lt-student-main{flex-direction:column}
    .lt-student-meta{flex-wrap:wrap}
}

/* Version 1.1 – Live-Erfassung */
.lt-live-strip{margin:14px 0}
.lt-live-placeholder{background:#fff;border:1px dashed var(--lt-border);border-radius:18px;padding:18px;text-align:center;color:var(--lt-muted)}
.lt-live-summary{display:grid;grid-template-columns:1fr auto;gap:14px;background:#fff;border:1px solid var(--lt-border);border-radius:18px 18px 0 0;padding:16px 18px}
.lt-live-class{font-size:18px;font-weight:850;margin-bottom:4px}
.lt-live-numbers{display:flex;align-items:center;gap:7px;color:var(--lt-muted);font-size:14px}
.lt-live-numbers strong{color:var(--lt-text)}
.lt-progress{height:9px;background:#e8eeea;border-radius:999px;overflow:hidden;margin-top:11px}
.lt-progress span{display:block;height:100%;background:var(--lt-green);border-radius:999px;transition:width .25s ease}
.lt-live-score{min-width:120px;display:flex;flex-direction:column;align-items:flex-end;justify-content:center}
.lt-live-score span{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--lt-muted);font-weight:800}
.lt-live-score strong{font-size:28px;line-height:1;color:var(--lt-green-dark);margin:4px 0}
.lt-live-score small{color:var(--lt-muted);font-weight:700}
.lt-live-ranking{display:flex;align-items:center;gap:12px;background:#f5f8f6;border:1px solid var(--lt-border);border-top:0;border-radius:0 0 18px 18px;padding:10px 14px;overflow:auto}
.lt-live-ranking-title{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--lt-muted);font-weight:850;white-space:nowrap}
.lt-live-podium{display:flex;gap:7px;min-width:0}
.lt-live-rank{display:flex;gap:5px;align-items:center;background:#fff;border:1px solid var(--lt-border);border-radius:999px;padding:6px 9px;font-size:13px;white-space:nowrap}
.lt-live-rank strong{color:var(--lt-green-dark)}
.lt-live-rank.is-current{border-color:#8bc7a2;background:#eef9f2}
.lt-entry-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 10px}
.lt-filter-chips{display:flex;gap:7px;flex-wrap:wrap}
.lt-filter-chip{min-height:44px;border:1px solid var(--lt-border);background:#fff;color:var(--lt-text);border-radius:999px;padding:8px 16px;font-weight:800;cursor:pointer}
.lt-filter-chip.is-active{background:var(--lt-green);border-color:var(--lt-green);color:#fff}
.lt-auto-info{color:var(--lt-muted);font-size:13px}
.lt-filter-empty{grid-column:1/-1}

/* Größere Touch-Ziele für den Einsatz auf dem Handy */
.lt-toolbar input,.lt-toolbar select,.lt-entry-row input,.lt-entry-row select,.lt-ranking-filter select{min-height:52px;font-size:16px}
.lt-entry-row .lt-save{height:52px;font-size:16px}
.lt-student-card{padding:16px}
.lt-student-name{font-size:19px}
.lt-tab{min-height:44px;padding:10px 18px}
.lt-time{font-size:18px!important;font-weight:800;letter-spacing:.03em}

@media(max-width:800px){
    .lt-live-summary{padding:14px}
    .lt-entry-controls{align-items:flex-start;flex-direction:column}
    .lt-auto-info{display:none}
    .lt-student-card{padding:14px}
    .lt-entry-row .lt-save{height:56px}
}
@media(max-width:520px){
    .lt-live-summary{grid-template-columns:1fr auto;gap:8px}
    .lt-live-score{min-width:86px}
    .lt-live-score strong{font-size:25px}
    .lt-live-ranking{align-items:flex-start;flex-direction:column;gap:7px}
    .lt-live-podium{width:100%;overflow:auto;padding-bottom:2px}
    .lt-filter-chips{width:100%}
    .lt-filter-chip{flex:1;padding-left:10px;padding-right:10px}
    .lt-entry-row{grid-template-columns:1fr 1fr}
    .lt-entry-row label>span{font-size:11px}
    .lt-entry-row input,.lt-entry-row select{min-height:54px}
}


/* Version 1.2 – optionale Laufzeit in ganzen Minuten */
.lt-time-label small{font-size:10px;font-weight:700;text-transform:none;letter-spacing:0;color:var(--lt-muted)}
.lt-stage{cursor:pointer}

/* Version 1.3 – Sonderstatus */
.lt-time:disabled{background:#eef1ef!important;color:#8b948e!important;cursor:not-allowed;opacity:.75}
.lt-stage optgroup{font-weight:700}


/* Version 1.4 – Logo, Übersichtlichkeit, volle Breite */
body.lt-has-app .entry-title,
body.lt-has-app .page-title,
body.lt-has-app .edit-link,
body.lt-has-app .post-edit-link{display:none!important}
body.lt-has-app .site-main,
body.lt-has-app .content-area,
body.lt-has-app .entry-content,
body.lt-has-app .inside-article,
body.lt-has-app article,
body.lt-has-app main,
body.lt-has-app .wp-block-group,
body.lt-has-app .wp-site-blocks,
body.lt-has-app .alignwide,
body.lt-has-app .alignfull,
body.lt-has-app .container,
body.lt-has-app .wrap{max-width:none!important;width:100%!important}
.lt-fullwidth-ancestor{max-width:none!important;width:100%!important}

.lt-app{
    display:grid;
    gap:16px;
}

.lt-app-header{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:18px;
    padding:20px 22px;
    border-radius:24px;
    background:linear-gradient(135deg,#008537 0%, #0a7a39 55%, #08622f 100%);
    box-shadow:0 18px 42px rgba(0,104,44,.18);
}
.lt-header-brand{
    display:flex;
    align-items:center;
    gap:18px;
    min-width:0;
}
.lt-logo-box{
    width:108px;
    min-width:108px;
    height:108px;
    background:rgba(255,255,255,.96);
    border-radius:22px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:10px;
    box-shadow:0 8px 24px rgba(0,0,0,.16);
}
.lt-header-logo{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
}
.lt-header-copy{min-width:0}
.lt-app-header .lt-kicker{color:rgba(255,255,255,.85)}
.lt-app-header h1{
    margin:4px 0 8px;
    font-size:40px;
    line-height:1.05;
    color:#fff;
}
.lt-header-subline{
    color:rgba(255,255,255,.88);
    font-size:15px;
    max-width:780px;
    line-height:1.45;
}
.lt-header-side{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:6px;
}
.lt-user-label{
    font-size:11px;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:rgba(255,255,255,.8);
    font-weight:800;
}
.lt-user{
    font-size:16px;
    font-weight:800;
    background:rgba(255,255,255,.16);
    color:#fff;
    padding:12px 18px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.14);
}

.lt-toolbar,.lt-card{
    border-radius:20px;
    border:1px solid #dce4df;
    box-shadow:0 10px 30px rgba(0,0,0,.045);
}
.lt-toolbar{
    display:grid;
    grid-template-columns:1.2fr .8fr 1.2fr;
    gap:16px;
    padding:18px 20px;
    margin-bottom:0;
}
.lt-toolbar label,.lt-ranking-filter label,.lt-entry-row label{
    gap:8px;
}
.lt-toolbar span,.lt-ranking-filter span,.lt-entry-row label>span{
    font-size:12px;
    color:#5f6b63;
}
.lt-toolbar input,.lt-toolbar select,.lt-entry-row input,.lt-entry-row select,.lt-ranking-filter select{
    min-height:56px;
    border-radius:14px;
    padding:12px 14px;
    font-size:17px;
}
.lt-quick-guide{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
}
.lt-guide-item{
    background:#fff;
    border:1px solid var(--lt-border);
    border-radius:18px;
    padding:14px 16px;
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
    box-shadow:0 8px 24px rgba(0,0,0,.035);
}
.lt-guide-item strong{
    width:34px;
    height:34px;
    min-width:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    background:#e2f4e9;
    color:var(--lt-green-dark);
    font-size:15px;
}
.lt-guide-item span{
    font-size:14px;
    font-weight:700;
    color:var(--lt-text);
    line-height:1.35;
}

.lt-live-strip{margin:0}
.lt-live-placeholder{
    padding:22px;
    font-size:18px;
    border-radius:20px;
    background:#fff;
}
.lt-live-summary{
    padding:18px 20px;
    border-radius:20px 20px 0 0;
}
.lt-live-ranking{
    padding:12px 16px;
    border-radius:0 0 20px 20px;
}
.lt-live-class{font-size:22px}
.lt-live-score strong{font-size:32px}
.lt-entry-controls{
    background:#fff;
    border:1px solid var(--lt-border);
    border-radius:20px;
    padding:14px 16px;
    margin-bottom:0;
}
.lt-filter-chip{
    min-height:48px;
    padding:10px 18px;
    font-size:15px;
}
.lt-auto-info{
    font-size:14px;
    font-weight:600;
}

.lt-student-list{
    gap:14px;
}
.lt-student-card{
    padding:18px;
    border-radius:20px;
    box-shadow:0 10px 24px rgba(0,0,0,.03);
}
.lt-student-name{
    font-size:20px;
}
.lt-student-meta{
    flex-wrap:wrap;
    row-gap:6px;
    font-size:14px;
}
.lt-badge{
    padding:6px 10px;
}
.lt-entry-row{
    grid-template-columns:220px minmax(160px,1fr) 180px;
    gap:12px;
}
.lt-entry-row .lt-save{
    height:56px;
    border-radius:14px;
    font-size:17px;
}
.lt-save-status{
    font-size:14px;
}

.lt-tabs{
    margin:0;
    gap:10px;
}
.lt-tab{
    min-height:48px;
    padding:12px 20px;
    font-size:16px;
}

.lt-ranking-filter{
    margin-bottom:14px;
}
.lt-ranking-grid{
    gap:16px;
}
.lt-card{
    padding:18px 20px;
    margin-bottom:0;
}
.lt-card h2{
    font-size:24px;
}
.lt-ranking-table th,.lt-ranking-table td{
    padding:12px 10px;
    font-size:15px;
}
.lt-ranking-table th{
    font-size:12px;
}

@media(max-width:1100px){
    .lt-toolbar{
        grid-template-columns:1fr 1fr;
    }
    .lt-search-label{
        grid-column:1/-1;
    }
    .lt-quick-guide{
        grid-template-columns:1fr;
    }
}

@media(max-width:860px){
    .lt-app{
        padding:0 10px;
        margin-top:12px;
    }
    .lt-app-header{
        grid-template-columns:1fr;
        align-items:flex-start;
        padding:16px;
        border-radius:18px;
    }
    .lt-header-brand{
        align-items:flex-start;
        gap:14px;
    }
    .lt-logo-box{
        width:82px;
        min-width:82px;
        height:82px;
        border-radius:18px;
    }
    .lt-app-header h1{
        font-size:32px;
    }
    .lt-header-subline{
        font-size:14px;
    }
    .lt-header-side{
        align-items:flex-start;
    }
    .lt-user{
        padding:10px 14px;
        font-size:15px;
    }
    .lt-toolbar{
        grid-template-columns:1fr;
        gap:12px;
        padding:14px;
    }
    .lt-quick-guide{
        gap:10px;
    }
    .lt-guide-item{
        padding:12px 14px;
    }
    .lt-live-summary{
        grid-template-columns:1fr;
        gap:10px;
    }
    .lt-live-score{
        align-items:flex-start;
        min-width:0;
    }
    .lt-entry-controls{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
    }
    .lt-auto-info{
        display:block;
    }
    .lt-entry-row{
        grid-template-columns:1fr;
    }
    .lt-entry-row .lt-save{
        grid-column:auto;
        width:100%;
    }
    .lt-card,
    .lt-live-summary,
    .lt-live-ranking,
    .lt-entry-controls,
    .lt-student-card,
    .lt-live-placeholder{
        border-radius:18px;
    }
}

@media(max-width:520px){
    .lt-header-brand{
        flex-direction:row;
    }
    .lt-logo-box{
        width:70px;
        min-width:70px;
        height:70px;
        border-radius:16px;
    }
    .lt-app-header h1{
        font-size:28px;
    }
    .lt-header-subline{
        display:none;
    }
    .lt-filter-chips{
        width:100%;
    }
    .lt-filter-chip{
        flex:1;
        justify-content:center;
    }
    .lt-live-ranking{
        flex-direction:column;
        align-items:flex-start;
    }
    .lt-live-podium{
        width:100%;
        overflow:auto;
    }
}


/* Version 1.5 – stärkerer Live-Bereich und kompaktere Smartphone-Erfassung */

/* Theme-Regeln dürfen die Headerfarbe nicht überschreiben. */
.lt-app .lt-app-header h1,
.lt-app-header .lt-header-copy h1{
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
}

/* Live-Dashboard */
.lt-live-board{
    display:grid;
    grid-template-columns:minmax(360px,.8fr) minmax(520px,1.2fr);
    gap:14px;
}
.lt-live-board .lt-live-summary{
    border:1px solid #cfe2d5;
    border-radius:22px;
    padding:20px;
    background:
        linear-gradient(135deg,rgba(0,133,55,.08),rgba(255,255,255,1) 54%);
    box-shadow:0 10px 28px rgba(0,0,0,.045);
}
.lt-live-eyebrow{
    font-size:11px;
    line-height:1;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.09em;
    color:var(--lt-green-dark);
    margin-bottom:7px;
}
.lt-live-board .lt-live-class{
    font-size:29px;
    line-height:1.05;
    color:#083d20;
}
.lt-live-board .lt-live-numbers{
    gap:8px;
    margin-top:10px;
    flex-wrap:wrap;
}
.lt-live-board .lt-live-numbers>span{
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:7px 10px;
    border-radius:999px;
    background:#fff;
    border:1px solid #dbe9df;
}
.lt-live-board .lt-progress{
    height:11px;
    margin-top:15px;
}
.lt-live-board .lt-live-score{
    min-width:145px;
    padding:11px 13px;
    border-radius:18px;
    background:#fff;
    border:1px solid #d5e7da;
    box-shadow:0 8px 22px rgba(0,103,44,.07);
}
.lt-live-board .lt-live-score strong{
    font-size:38px;
}
.lt-live-board .lt-live-score small{
    font-size:13px;
    color:#375f45;
}

.lt-live-ranking-panel{
    background:#fff;
    border:1px solid var(--lt-border);
    border-radius:22px;
    padding:17px;
    box-shadow:0 10px 28px rgba(0,0,0,.045);
}
.lt-live-ranking-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:12px;
    margin-bottom:12px;
}
.lt-live-ranking-head>div{
    display:flex;
    flex-direction:column;
    gap:3px;
}
.lt-live-ranking-title{
    color:var(--lt-text);
    font-size:16px;
    line-height:1.15;
    letter-spacing:0;
    text-transform:none;
    font-weight:900;
}
.lt-live-ranking-head small{
    color:var(--lt-muted);
    font-size:12px;
}
.lt-live-dot{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:6px 9px;
    border-radius:999px;
    background:#edf8f1;
    color:var(--lt-green-dark);
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.06em;
}
.lt-live-dot i{
    display:block;
    width:7px;
    height:7px;
    border-radius:50%;
    background:var(--lt-green);
}
.lt-live-board .lt-live-podium{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:9px;
}
.lt-live-rank-card{
    min-width:0;
    display:grid;
    grid-template-columns:38px minmax(0,1fr);
    grid-template-areas:
        "place copy"
        "place score";
    align-items:center;
    column-gap:9px;
    row-gap:3px;
    padding:12px;
    border:1px solid #e0e7e2;
    border-radius:17px;
    background:#f8faf9;
    transition:.15s ease;
}
.lt-live-rank-card.is-current{
    border:2px solid var(--lt-green);
    padding:11px;
    background:#eaf7ef;
    box-shadow:0 9px 22px rgba(0,133,55,.10);
}
.lt-live-place{
    grid-area:place;
    width:38px;
    height:38px;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    border:1px solid #dce5df;
    color:#526159;
    font-size:17px;
    font-weight:950;
}
.lt-live-rank-card:nth-child(1) .lt-live-place{
    background:#fff5cf;
    border-color:#ead580;
    color:#705b00;
}
.lt-live-rank-card:nth-child(2) .lt-live-place{
    background:#f1f3f4;
    color:#596168;
}
.lt-live-rank-card:nth-child(3) .lt-live-place{
    background:#f8e6d9;
    border-color:#e9c1a4;
    color:#7b4526;
}
.lt-live-rank-copy{
    grid-area:copy;
    min-width:0;
    display:flex;
    flex-direction:column;
    line-height:1.2;
}
.lt-live-rank-copy strong{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:14px;
    color:#1c2c22;
}
.lt-live-rank-card.is-current .lt-live-rank-copy strong{
    color:var(--lt-green-dark);
}
.lt-live-rank-copy span{
    margin-top:3px;
    color:var(--lt-muted);
    font-size:11px;
}
.lt-live-rank-score{
    grid-area:score;
    font-size:22px;
    line-height:1;
    font-weight:950;
    color:var(--lt-green-dark);
}

/* Deutlichere ausgewählte Klasse auch in der Erfassung */
.lt-student-card:not(.is-saved){
    border-left:5px solid #cbd7cf;
}
.lt-student-card.is-saved{
    border-left:5px solid var(--lt-green);
}
.lt-student-card.is-saved .lt-student-name{
    color:#145a2e;
}

/* Tablet */
@media(max-width:1120px){
    .lt-live-board{
        grid-template-columns:1fr;
    }
}

/* Smartphone: weniger Scrollhöhe pro Kind und klare Touch-Anordnung */
@media(max-width:700px){
    .lt-quick-guide{
        display:none;
    }
    .lt-app{
        gap:10px;
        padding:0 7px;
    }
    .lt-app-header{
        margin-bottom:0;
    }
    .lt-toolbar{
        gap:9px;
        padding:11px;
    }
    .lt-toolbar input,
    .lt-toolbar select{
        min-height:49px;
        font-size:16px;
    }
    .lt-live-board{
        gap:9px;
    }
    .lt-live-board .lt-live-summary,
    .lt-live-ranking-panel{
        padding:12px;
        border-radius:17px;
    }
    .lt-live-board .lt-live-summary{
        grid-template-columns:minmax(0,1fr) auto;
        gap:9px;
    }
    .lt-live-board .lt-live-class{
        font-size:23px;
    }
    .lt-live-board .lt-live-numbers{
        margin-top:7px;
    }
    .lt-live-board .lt-live-numbers>span{
        padding:5px 8px;
        font-size:12px;
    }
    .lt-live-board .lt-live-score{
        min-width:92px;
        padding:9px 10px;
    }
    .lt-live-board .lt-live-score strong{
        font-size:29px;
    }
    .lt-live-board .lt-live-score small{
        font-size:11px;
    }
    .lt-live-ranking-head{
        margin-bottom:8px;
    }
    .lt-live-ranking-head small{
        display:none;
    }
    .lt-live-board .lt-live-podium{
        display:flex;
        gap:7px;
        overflow-x:auto;
        padding-bottom:2px;
        scrollbar-width:none;
    }
    .lt-live-board .lt-live-podium::-webkit-scrollbar{
        display:none;
    }
    .lt-live-rank-card{
        flex:0 0 155px;
        padding:9px;
        border-radius:14px;
        grid-template-columns:32px minmax(0,1fr);
    }
    .lt-live-rank-card.is-current{
        padding:8px;
    }
    .lt-live-place{
        width:32px;
        height:32px;
        border-radius:10px;
        font-size:14px;
    }
    .lt-live-rank-score{
        font-size:18px;
    }

    .lt-tabs{
        gap:7px;
    }
    .lt-tab{
        min-height:42px;
        padding:8px 15px;
        font-size:14px;
    }
    .lt-entry-controls{
        padding:9px 10px;
        border-radius:16px;
    }
    .lt-auto-info{
        display:none;
    }
    .lt-filter-chip{
        min-height:40px;
        padding:7px 9px;
        font-size:13px;
    }
    .lt-student-list{
        gap:8px;
    }
    .lt-student-card{
        padding:11px;
        border-radius:15px;
    }
    .lt-student-main{
        margin-bottom:8px;
        gap:6px;
    }
    .lt-student-name{
        font-size:17px;
        line-height:1.15;
    }
    .lt-student-meta{
        font-size:11px;
        gap:5px;
    }
    .lt-badge{
        padding:3px 7px;
    }

    .lt-entry-row{
        display:grid;
        grid-template-columns:minmax(0,1fr) 102px;
        gap:7px;
        align-items:end;
    }
    .lt-entry-row label:first-child{
        grid-column:1/-1;
    }
    .lt-entry-row label>span{
        font-size:9px;
        margin-bottom:-2px;
    }
    .lt-entry-row input,
    .lt-entry-row select{
        min-height:46px;
        padding:8px 10px;
        font-size:15px;
        border-radius:11px;
    }
    .lt-entry-row .lt-save{
        grid-column:auto;
        height:46px;
        min-height:46px;
        padding:7px 8px;
        font-size:14px;
        border-radius:11px;
    }
    .lt-time{
        font-size:16px!important;
    }
    .lt-save-status{
        min-height:0;
        margin-top:4px;
        font-size:11px;
    }
    .lt-save-status:empty{
        display:none;
    }
}

@media(max-width:440px){
    .lt-logo-box{
        width:62px;
        min-width:62px;
        height:62px;
    }
    .lt-app-header h1{
        font-size:26px;
    }
    .lt-user-label{
        display:none;
    }
    .lt-user{
        padding:7px 10px;
        font-size:12px;
    }
}
