/* FHMM Live Blog v1.3.0 — Elegant editorial design */
/* Burmese-friendly: add Pyidaungsu or Noto Sans Myanmar to your theme's font stack */

.fhmm-lb-feed {
    margin: 2.5rem 0;
    font-family: inherit;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    background: #fff;
    overflow: hidden;
}

/* ── Feed header ─────────────────────────────────────────── */
.fhmm-lb-feed-header {
    padding: 18px 22px 15px;
    border-bottom: 3px solid #F76700;
    background: #fff;
}

.fhmm-lb-feed-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.fhmm-lb-live-label,
.fhmm-lb-archived-label {
    font-family: Georgia, 'Times New Roman', 'Pyidaungsu', 'Noto Sans Myanmar', serif;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #111;
}

.fhmm-lb-live-dot {
    width: 9px;
    height: 9px;
    background: #F76700;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    animation: fhmmPulse 1.4s ease-in-out infinite;
}

@keyframes fhmmPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.28; transform: scale(0.62); }
}

.fhmm-lb-counter {
    margin-left: auto;
    font-size: 11px;
    color: #aaa;
    background: #f7f7f7;
    padding: 2px 10px;
    border-radius: 10px;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.fhmm-lb-editors-line {
    font-size: 13px;
    color: #666;
    font-style: italic;
    margin: 0;
    line-height: 1.5;
}

.fhmm-lb-archived-note {
    font-size: 12px;
    color: #aaa;
    margin: 4px 0 0;
}

.fhmm-lb-divider { height: 1px; background: #f0f0f0; }

/* ── Pinned ──────────────────────────────────────────────── */
.fhmm-lb-pin-separator {
    height: 1px;
    background: #F76700;
    opacity: 0.25;
}

.fhmm-lb-entry.fhmm-lb-pinned { background: #fffcf8; }

.fhmm-lb-pinned-bar {
    font-size: 11px;
    font-weight: 700;
    color: #c45200;
    background: #fff5eb;
    padding: 5px 22px;
    border-bottom: 1px solid #fde0c2;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Entry ───────────────────────────────────────────────── */
.fhmm-lb-entry {
    border-bottom: 1px solid #f2f2f2;
    transition: background 0.55s ease;
}
.fhmm-lb-entry:last-child { border-bottom: none; }
.fhmm-lb-entry.fhmm-lb-new { background: #fffaf5; }

.fhmm-lb-entry-inner { display: flex; }

/* Time column */
.fhmm-lb-time-col {
    flex: 0 0 78px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 18px 8px 16px;
    background: #fafafa;
    border-right: 1px solid #f2f2f2;
    gap: 4px;
}

.fhmm-lb-status-breaking   .fhmm-lb-time-col { border-left: 3px solid #c0392b; }
.fhmm-lb-status-developing  .fhmm-lb-time-col { border-left: 3px solid #d97706; }
.fhmm-lb-status-key_moment  .fhmm-lb-time-col { border-left: 3px solid #1d6fa4; }
.fhmm-lb-status-resolved    .fhmm-lb-time-col { border-left: 3px solid #16a34a; }
.fhmm-lb-status-update      .fhmm-lb-time-col { border-left: 3px solid #e8e8e8; }
.fhmm-lb-pinned             .fhmm-lb-time-col { border-left: 3px solid #F76700; }

.fhmm-lb-time-pill {
    display: inline-block;
    background: #222;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    letter-spacing: 0.03em;
    white-space: nowrap;
    transition: background 0.3s;
}

.fhmm-lb-time-pill--accent { background: #F76700; }

.fhmm-lb-date-sub {
    font-size: 10px;
    color: #c0c0c0;
    text-align: center;
    line-height: 1.35;
}

/* Body column */
.fhmm-lb-body-col {
    flex: 1;
    padding: 16px 22px 14px;
    min-width: 0;
}

.fhmm-lb-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 2px 8px;
    border-radius: 2px;
    margin-bottom: 8px;
    line-height: 1.75;
}

.fhmm-lb-headline {
    font-family: Georgia, 'Times New Roman', 'Pyidaungsu', 'Noto Sans Myanmar', serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.38;
    color: #111;
    margin: 0 0 10px;
}

/* Author card — middle of entry */
.fhmm-lb-author-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid #f4f4f4;
    border-bottom: 1px solid #f4f4f4;
    margin-bottom: 13px;
}

.fhmm-lb-avatar-wrap {
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: inline-block;
    position: relative;
    vertical-align: middle;
}

.fhmm-lb-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.fhmm-lb-avatar-fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.03em;
    position: absolute;
    top: 0; left: 0;
}

.fhmm-lb-author-info { display: flex; flex-direction: column; gap: 1px; }
.fhmm-lb-author-name { font-size: 13px; font-weight: 600; color: #111; line-height: 1.3; }
.fhmm-lb-author-role { font-size: 11px; color: #aaa; line-height: 1.3; }

/* Content */
.fhmm-lb-content {
    font-size: 14px;
    line-height: 1.72;
    color: #333;
    margin: 0 0 8px;
}

.fhmm-lb-content.fhmm-lb-collapsible.fhmm-lb-collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fhmm-lb-read-more {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #F76700;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}
.fhmm-lb-read-more:hover { text-decoration: underline; }

/* Entry footer */
.fhmm-lb-entry-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.fhmm-lb-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: 0.5px solid #e4e4e4;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 12px;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}
.fhmm-lb-share-btn:hover { color: #555; border-color: #bbb; }
.fhmm-lb-share-btn.copied { color: #16a34a; border-color: #16a34a; }

/* Feed sign-off */
.fhmm-lb-feed-signoff {
    padding: 13px 22px;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
    font-size: 12px;
    color: #999;
    font-style: italic;
    text-align: right;
}

.fhmm-lb-empty {
    padding: 22px;
    color: #ccc;
    font-style: italic;
    font-size: 13px;
}

/* Typewriter cursor */
.fhmm-lb-typewrite .fhmm-lb-content::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 1em;
    background: #F76700;
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: fhmmBlink 0.7s step-end infinite;
}
.fhmm-lb-typewrite.fhmm-tw-done .fhmm-lb-content::after { display: none; }

@keyframes fhmmBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* Floating jump button */
.fhmm-lb-jump-btn {
    position: fixed;
    bottom: 28px;
    right: 24px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.22s ease, transform 0.22s ease;
    pointer-events: none;
    letter-spacing: 0.01em;
}
.fhmm-lb-jump-btn.fhmm-lb-jump-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (max-width: 520px) {
    .fhmm-lb-time-col  { flex: 0 0 60px; padding: 14px 6px; }
    .fhmm-lb-time-pill { font-size: 11px; padding: 2px 6px; }
    .fhmm-lb-body-col  { padding: 12px 14px; }
    .fhmm-lb-headline  { font-size: 0.98rem; }
}