/* Telefoonversie van StoryReel. Bouwt voort op style.css. */

body.mobiel {
    padding: 0 0 40px;
    background: var(--bg);
}

.mkop {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: calc(12px + env(safe-area-inset-top)) 16px 12px;
    background: linear-gradient(180deg, #171d26, #12171f);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 20;
}

.minstalhint {
    margin: 14px 16px 0;
    background: #12202c;
    border: 1px solid #1d3448;
    border-radius: 11px;
    padding: 13px 15px;
    font-size: 14px;
    color: #a9c4d8;
    line-height: 1.6;
}
.minstalhint b { display: block; color: var(--text); margin-bottom: 4px; }
.minstalhint .btn { margin-top: 10px; }

main#mlijst {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 620px;
    margin: 0 auto;
}

.mleeg {
    color: var(--muted);
    text-align: center;
    padding: 50px 20px;
    font-size: 15px;
    line-height: 1.7;
}

.mvideo {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}

.mvideo .mtop { display: flex; gap: 13px; padding: 13px; }

.mvideo .mduim {
    width: 74px;
    height: 132px;
    border-radius: 9px;
    object-fit: cover;
    background: #000;
    flex: none;
    border: 1px solid #2b3342;
}

.mvideo .minfo { flex: 1; min-width: 0; }
.mvideo .mtitel {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mvideo .mmeta { font-size: 12px; color: var(--muted); }

.mgedaan {
    display: inline-block;
    margin-top: 6px;
    background: #10261a;
    border: 1px solid #1c4429;
    color: #86d99a;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
}

.mknoppen {
    display: flex;
    gap: 8px;
    padding: 0 13px 13px;
}
.mknoppen .btn { flex: 1; padding: 13px 10px; text-align: center; text-decoration: none; }

.mtabs {
    display: flex;
    gap: 6px;
    padding: 0 13px 10px;
}
.mtabs button {
    flex: 1;
    background: #0d1117;
    border: 1px solid var(--line);
    color: var(--muted);
    border-radius: 8px;
    padding: 8px 6px;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
.mtabs button.aan { background: var(--panel-2); color: var(--text); border-color: #3d4a5f; }

.mbijschrift { padding: 0 13px 13px; }
.mbijschrift textarea {
    width: 100%;
    min-height: 120px;
    font-size: 13px;
    line-height: 1.6;
    resize: vertical;
}
.mbijschrift .muitleg {
    font-size: 12px;
    color: var(--muted);
    margin: 6px 0 9px;
}

.mspeler {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 60;
    display: flex;
    flex-direction: column;
}
.mspeler video { flex: 1; width: 100%; min-height: 0; background: #000; }
.mspeler .msluit {
    padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
    display: flex;
    justify-content: flex-end;
    background: #0b0e13;
}

.mtoast {
    position: fixed;
    left: 50%;
    bottom: calc(24px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    background: #1c2230;
    border: 1px solid var(--line);
    color: var(--text);
    padding: 12px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    z-index: 80;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
    opacity: 0;
    transition: opacity .2s, transform .2s;
    pointer-events: none;
    white-space: nowrap;
    max-width: 90vw;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mtoast.zichtbaar { opacity: 1; transform: translateX(-50%) translateY(-6px); }
