/* ============================================
   Longa Na Winner — Public Shortcode Styles
   ============================================ */
.lnw-public-wrap {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.lnw-public-header {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
}
.lnw-public-logo { font-size: 2.5rem; }
.lnw-public-header h2 { color: #F5A623; margin: 0; font-size: 1.6rem; }
.lnw-public-header p  { color: #a0aec0; margin: 4px 0 0; font-size: .9rem; }

/* Filter tabs */
.lnw-pub-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.lnw-pub-filter {
    padding: 8px 18px;
    border-radius: 25px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    color: #374151;
}
.lnw-pub-filter:hover,
.lnw-pub-filter.active { background: #1a1a2e; color: #fff; border-color: #1a1a2e; }
.lnw-pub-filter.lnw-pub-haute.active   { background: #00c853; border-color: #00c853; }
.lnw-pub-filter.lnw-pub-moyenne.active { background: #F5A623; border-color: #F5A623; }
.lnw-pub-filter.lnw-pub-faible.active  { background: #f44336; border-color: #f44336; }

/* Grid */
.lnw-pub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

/* Card */
.lnw-pub-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    border-left: 5px solid #F5A623;
    transition: transform .2s, box-shadow .2s;
}
.lnw-pub-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,0,0,.12); }
.lnw-pub-card-haute   { border-color: #00c853; }
.lnw-pub-card-moyenne { border-color: #F5A623; }
.lnw-pub-card-faible  { border-color: #f44336; }

.lnw-pub-card-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.lnw-pub-status { margin-left: auto; font-size: 1.1rem; }

.lnw-pub-match {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}
.lnw-pub-date { font-size: .8rem; color: #64748b; margin-bottom: 8px; }
.lnw-pub-prediction { color: #374151; margin-bottom: 14px; font-size: .92rem; }

.lnw-pub-prob-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.lnw-pub-prob-label { font-size: .78rem; color: #64748b; white-space: nowrap; }
.lnw-prob-bar-wrap  { flex: 1; height: 8px; background: #f1f5f9; border-radius: 4px; overflow: hidden; }
.lnw-prob-bar       { height: 100%; background: linear-gradient(90deg, #F5A623, #00c853); border-radius: 4px; }
.lnw-pub-prob-num   { font-size: .9rem; font-weight: 800; color: #1a1a2e; white-space: nowrap; }

.lnw-pub-odds {
    font-size: .85rem;
    color: #374151;
    background: #f8fafc;
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: 10px;
    display: inline-block;
}
.lnw-pub-reasoning {
    font-size: .82rem;
    color: #64748b;
    background: #f8fafc;
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 3px solid #e2e8f0;
    margin-bottom: 10px;
}
.lnw-pub-source { font-size: .75rem; color: #94a3b8; text-align: right; margin-top: 10px; }

/* Badges (shared with admin in public context) */
.lnw-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .05em;
}
.lnw-haute   { background: #dcfce7; color: #15803d; }
.lnw-moyenne { background: #fef9c3; color: #a16207; }
.lnw-faible  { background: #fee2e2; color: #b91c1c; }
.lnw-sport-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 600;
    background: #eff6ff;
    color: #1d4ed8;
}

/* Empty */
.lnw-pub-empty {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px;
    color: #94a3b8;
    font-size: 1.1rem;
}

/* Disclaimer */
.lnw-pub-disclaimer {
    background: #fef9c3;
    color: #a16207;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: .82rem;
    line-height: 1.5;
    border-left: 4px solid #F5A623;
}

/* Responsive */
@media (max-width: 600px) {
    .lnw-pub-grid { grid-template-columns: 1fr; }
    .lnw-public-header h2 { font-size: 1.2rem; }
}
