.onre-container {
    margin-top: -0.75rem;
    margin-bottom: 0.75rem;
}

.onre-strip {
    min-height: 76px;
    padding: 10px 12px 12px;
    border: 1px solid rgba(80, 95, 120, 0.10);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 22px rgba(31, 42, 68, 0.06);
    backdrop-filter: blur(14px);
}

.onre-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    margin-bottom: 9px;
}

.onre-title {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: #252b3a;
    font-size: 14px;
    line-height: 1.25;
    white-space: nowrap;
}

.onre-title strong {
    font-size: 14px;
    font-weight: 700;
}

.onre-title span:last-child {
    overflow: hidden;
    color: #7b8496;
    font-size: 12px;
    text-overflow: ellipsis;
}

.onre-dot {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f1404b;
    box-shadow: 0 0 0 4px rgba(241, 64, 75, 0.12);
}

.onre-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #98a1b2;
    font-size: 12px;
    white-space: nowrap;
}

.onre-rates {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.onre-rate {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.15fr);
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 8px 10px;
    border-radius: 6px;
    background: rgba(246, 248, 252, 0.92);
}

.onre-side {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.onre-side-to {
    justify-content: flex-end;
}

.onre-flag {
    flex: 0 0 auto;
    font-size: 16px;
    line-height: 1;
}

.onre-country {
    overflow: hidden;
    color: #252b3a;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.onre-code {
    flex: 0 0 auto;
    color: #f1404b;
    font-size: 11px;
    font-weight: 700;
}

.onre-arrow {
    color: #98a1b2;
    font-size: 12px;
}

.onre-value {
    flex: 0 0 auto;
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.onre-error {
    color: #98a1b2;
    font-size: 13px;
}

@media (max-width: 1399.98px) {
    .onre-rates {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .onre-container {
        margin-top: 0;
    }

    .onre-strip {
        padding: 10px;
    }

    .onre-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .onre-title {
        flex-wrap: wrap;
        white-space: normal;
    }

    .onre-rates {
        grid-template-columns: 1fr;
    }
}
