/**
 * ===============================================================================
 * TripTiles - Live-Modus (Heute-View waehrend der Reise)
 * Macht aus der Planungs-App eine Reisebegleitung.
 * Developed by Toni Sciacca - mail@tonisciacca.com
 * ===============================================================================
 */
.lm-overlay {
    position: fixed; inset: 0; z-index: 9550;
    background: var(--sh-bg, #f5f5f5);
    display: none; flex-direction: column;
    font-family: 'Outfit', sans-serif;
}
.lm-overlay.open { display: flex; }

.lm-head {
    background: var(--sh-card, #fff);
    border-bottom: 1px solid var(--sh-border, #e8e8e8);
    padding: 16px 20px;
    display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center;
}
.lm-back {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--sh-bg, #f5f5f5);
    border: none; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
}
.lm-back [data-lucide] { width: 18px; height: 18px; color: var(--sh-text2, #6b6b6b); }

.lm-titlewrap { min-width: 0; }
.lm-title-pre { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--sh-pink, #FF385C); display: flex; align-items: center; gap: 4px; }
.lm-title-pre [data-lucide] { width: 12px; height: 12px; animation: lmPulse 1.6s ease-in-out infinite; }
@keyframes lmPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.lm-title { font-size: 18px; font-weight: 700; color: var(--sh-text, #1a1a1a); margin-top: 2px; line-height: 1.2; }

.lm-status {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 999px;
    background: var(--sh-pink-lt, rgba(255,56,92,0.08));
    color: var(--sh-pink, #FF385C);
    font-size: 12px; font-weight: 600;
}
.lm-status [data-lucide] { width: 13px; height: 13px; }

.lm-body { flex: 1; overflow-y: auto; padding: 16px; display: grid; grid-template-columns: 1fr 380px; gap: 16px; align-items: start; }
@media (max-width: 900px) { .lm-body { grid-template-columns: 1fr; } }

.lm-now-card {
    background: linear-gradient(135deg, var(--sh-pink, #FF385C), #FF7575);
    color: #fff;
    border-radius: 18px;
    padding: 22px 24px;
    box-shadow: 0 8px 24px rgba(255, 56, 92, 0.25);
    margin-bottom: 12px;
}
.lm-now-pre { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.85; }
.lm-now-title { font-size: 22px; font-weight: 700; margin: 4px 0 8px; line-height: 1.2; }
.lm-now-meta { font-size: 13px; opacity: 0.92; display: flex; gap: 12px; flex-wrap: wrap; }
.lm-now-meta-item { display: inline-flex; align-items: center; gap: 5px; }
.lm-now-meta-item [data-lucide] { width: 14px; height: 14px; }
.lm-now-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.lm-now-btn {
    background: rgba(255,255,255,0.22);
    backdrop-filter: blur(6px);
    color: #fff; border: 1px solid rgba(255,255,255,0.35);
    font: inherit; font-size: 12px; font-weight: 600;
    padding: 8px 14px; border-radius: 999px;
    cursor: pointer; display: inline-flex; align-items: center; gap: 5px;
}
.lm-now-btn [data-lucide] { width: 13px; height: 13px; }
.lm-now-btn.primary { background: #fff; color: var(--sh-pink, #FF385C); border-color: #fff; }

.lm-section { background: var(--sh-card, #fff); border: 1px solid var(--sh-border, #e8e8e8); border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; }
.lm-section-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--sh-text3, #9a9a9a); margin-bottom: 10px; }

.lm-timeline-list { display: flex; flex-direction: column; gap: 8px; }
.lm-tl-item {
    display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center;
    padding: 8px 10px; border-radius: 10px;
}
.lm-tl-item.now { background: var(--sh-pink-lt, rgba(255,56,92,0.06)); }
.lm-tl-item.past { opacity: 0.5; }
.lm-tl-time { font-size: 12px; font-weight: 700; color: var(--sh-text2, #6b6b6b); }
.lm-tl-item.now .lm-tl-time { color: var(--sh-pink, #FF385C); }
.lm-tl-title { font-size: 13px; font-weight: 600; color: var(--sh-text, #1a1a1a); }
.lm-tl-meta { font-size: 11px; color: var(--sh-text3, #9a9a9a); margin-top: 2px; }
.lm-tl-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--sh-bg, #f5f5f5); display: inline-flex; align-items: center; justify-content: center; }
.lm-tl-icon [data-lucide] { width: 14px; height: 14px; color: var(--sh-text2, #6b6b6b); }

.lm-side-map { height: 280px; border-radius: 14px; overflow: hidden; border: 1px solid var(--sh-border, #e8e8e8); }

.lm-quick {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
    margin-top: 12px;
}
.lm-quick-btn {
    background: var(--sh-card, #fff); border: 1px solid var(--sh-border, #e8e8e8);
    border-radius: 12px; padding: 14px 12px;
    cursor: pointer; text-align: left;
    font: inherit; transition: border-color 0.12s;
}
.lm-quick-btn:hover { border-color: var(--sh-pink, #FF385C); }
.lm-quick-btn-icon { width: 28px; height: 28px; border-radius: 8px; background: var(--sh-pink-lt, rgba(255,56,92,0.08)); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.lm-quick-btn-icon [data-lucide] { width: 14px; height: 14px; color: var(--sh-pink, #FF385C); }
.lm-quick-btn-title { font-size: 13px; font-weight: 600; color: var(--sh-text, #1a1a1a); }
.lm-quick-btn-sub { font-size: 11px; color: var(--sh-text3, #9a9a9a); margin-top: 2px; }
