/* Bổ sung nhỏ cho các tiện ích tương tác (Dò vé, Quay thử, Lọc số, Thống kê) - giữ nguyên 100% styleall.min.css */
.xoso-mode-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    background: #f8f9fa;
    border-top: 1px solid #e5e5e5;
    font-size: 13px;
}
.xoso-mode-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.xoso-mode-group label {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    user-select: none;
}
.xoso-digit-pills {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
.xoso-digit-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #d5d5d5;
    background: #fff;
    color: #333;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
}
.xoso-digit-pill:hover,
.xoso-digit-pill.active {
    background: #ed1c24;
    color: #fff;
    border-color: #ed1c24;
}
.num-highlighted {
    background: #fff3cd !important;
    border-radius: 4px;
    padding: 0 4px;
    box-shadow: 0 0 0 1px #f0ad4e;
}
.xoso-filter-box {
    background: #f9f9f9;
    border: 1px solid #e2e2e2;
    padding: 12px;
    margin: 10px;
    border-radius: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
}
.xoso-filter-box .fg {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 130px;
}
.xoso-filter-box label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}
.xoso-filter-box input,
.xoso-filter-box select {
    height: 34px;
    padding: 4px 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    background: #fff;
}
.xoso-btn-primary {
    background: #ed1c24;
    color: #fff;
    border: none;
    height: 34px;
    padding: 0 16px;
    border-radius: 3px;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
}
.xoso-btn-primary:hover {
    background: #c8141b;
}
.xoso-stat-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.xoso-stat-table th,
.xoso-stat-table td {
    border: 1px solid #e0e0e0;
    padding: 7px 8px;
    text-align: center;
}
.xoso-stat-table th {
    background: #f5f5f5;
    color: #222;
    font-weight: 700;
}
.xoso-stat-table tr:nth-child(even) td {
    background: #fafafa;
}
.xoso-bar-wrap {
    background: #eee;
    border-radius: 3px;
    height: 14px;
    width: 100%;
    min-width: 80px;
    overflow: hidden;
}
.xoso-bar-fill {
    background: linear-gradient(90deg, #ed1c24, #ff6b35);
    height: 100%;
}
.xoso-badge-red {
    display: inline-block;
    background: #ed1c24;
    color: #fff;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 3px;
    font-size: 13px;
}
.xoso-badge-blue {
    display: inline-block;
    background: #1a73e8;
    color: #fff;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 3px;
    font-size: 13px;
}
.xoso-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 14px 10px;
    flex-wrap: wrap;
}
.xoso-pagination a,
.xoso-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    background: #fff;
}
.xoso-pagination a.active,
.xoso-pagination a:hover {
    background: #ed1c24;
    color: #fff;
    border-color: #ed1c24;
    font-weight: 700;
}
.xoso-sidebar-result {
    margin-top: 10px;
    padding: 8px;
    background: #fff8e6;
    border: 1px solid #f5c26b;
    border-radius: 4px;
    font-size: 13px;
    max-height: 280px;
    overflow-y: auto;
}
.xoso-win-banner {
    margin: 10px;
    padding: 14px 16px;
    border-radius: 4px;
    font-size: 15px;
}
.xoso-win-banner.win {
    background: #e8f5e9;
    border: 1px solid #4caf50;
    color: #1b5e20;
}
.xoso-win-banner.lose {
    background: #fff3e0;
    border: 1px solid #ff9800;
    color: #e65100;
}
.xoso-article-body {
    padding: 14px 16px;
    line-height: 1.75;
    font-size: 15px;
    color: #222;
}
.xoso-article-body p {
    margin: 0 0 12px 0;
}
.xoso-live-pulse {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ed1c24;
    margin-right: 6px;
    animation: xosoPulse 1.2s infinite;
}
@keyframes xosoPulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.25); }
    100% { opacity: 1; transform: scale(1); }
}
.pushbar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9998;
    display: none;
}
.pushbar-backdrop.open {
    display: block;
}
aside.pushbar.pushbar-open {
    display: block !important;
    transform: translateX(0) !important;
    z-index: 9999;
}
