#rtp-content .col-lg-4,
#rtp-content .col-6 {
    display: flex;
    min-width: 0;
}

#rtp-content .rtp-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

#rtp-content .rtp-card > .row,
#rtp-content .rtp-card > .row.g-1,
#rtp-content .rtp-card > div[class*="row"] {
    flex: 1;
    align-items: stretch;
    margin: 0;
    width: 100%;
}

#rtp-content .rtp-card .row.g-1 > [class*="col-"] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

#rtp-content .rtp-card .place-img-rtp {
    width: 100%;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

#rtp-content .rtp-card .rtp-card-img,
#rtp-content .rtp-card .place-img-rtp img,
#rtp-content .rtp-card .place-img-rtp .lazy {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    object-position: center;
    border-radius: 5px;
    display: block;
    margin: 0 auto;
}

#rtp-content .rtp-card .rtp-card-img {
    opacity: 0;
    transition: opacity 0.35s ease;
}

#rtp-content .rtp-card .rtp-card-img.rtp-img-ready {
    opacity: 1;
}

#rtp-content .rtp-card .place-img-rtp.rtp-img-pending::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.75rem;
    height: 1.75rem;
    margin: -0.875rem 0 0 -0.875rem;
    border: 3px solid rgba(212, 175, 55, 0.2);
    border-top-color: rgba(212, 175, 55, 0.85);
    border-radius: 50%;
    animation: rtp-img-spin 0.85s linear infinite;
    pointer-events: none;
}

@keyframes rtp-img-spin {
    to {
        transform: rotate(360deg);
    }
}

.pola-wrapper {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.table-pola {
    flex: 1 1 auto;
    min-height: 3.75rem;
}

.table-pola tbody {
    min-height: 3.75rem;
}

.pola-wrapper h4 {
    margin-bottom: 0.35rem;
    padding-right: 1.9rem;
}

.pola-wrapper hr {
    margin: 0.35rem 0;
    opacity: 0.35;
}

.pola-wrapper h5.fw-bold {
    margin: 0.45rem 0 0.35rem;
    font-size: clamp(0.62rem, 2.2vw, 0.72rem);
    line-height: 1.35;
    word-break: break-word;
}

.table-pola {
    width: 100%;
    max-width: 100%;
    table-layout: auto;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0 0.2rem;
}

.table-pola tbody tr {
    vertical-align: middle;
}

.table-pola tr td {
    vertical-align: middle;
    padding: 0.22rem 0.18rem;
    line-height: 1.25;
}

.table-pola tr td.pola-label {
    width: auto;
    text-align: left;
    font-size: clamp(0.6rem, 2.1vw, 0.7rem);
    font-weight: 600;
    white-space: nowrap;
    color: #f0d878;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.25);
}

.table-pola tr td.pola-turbo-cell {
    width: 1%;
    text-align: right;
    white-space: nowrap;
    padding-right: 0.1rem;
}

.table-pola tr td.pola-turbo-cell span.fw-bold,
.table-pola tr td.pola-turbo-cell .text-success,
.table-pola tr td.pola-turbo-cell .text-danger {
    display: none;
}

.table-pola tr td.pola-turbo-cell > i.lni {
    display: none;
}

.pola-turbo-group {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.22rem;
    max-width: 100%;
}

.pola-turbo-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.28rem;
    height: 1.28rem;
    border-radius: 5px;
    flex-shrink: 0;
    font-size: 0.82rem;
    line-height: 1;
}

.pola-turbo-chip .lni {
    font-size: 0.95rem;
    line-height: 1;
}

.pola-turbo-on {
    color: #5ecf8a;
    background: rgba(94, 207, 138, 0.14);
    box-shadow: 0 0 8px rgba(94, 207, 138, 0.35);
}

.pola-turbo-off {
    color: #e07070;
    background: rgba(224, 112, 112, 0.12);
    box-shadow: 0 0 6px rgba(224, 112, 112, 0.25);
}

.table-pola tr td.pola-unavailable,
.table-pola tr td[colspan] {
    text-align: center;
    padding: 0.55rem 0.35rem;
    font-size: clamp(0.62rem, 2.2vw, 0.72rem);
    line-height: 1.45;
    color: #ffb4b4;
    background: rgba(224, 112, 112, 0.08);
    border-radius: 6px;
    border: 1px dashed rgba(224, 112, 112, 0.35);
    white-space: normal;
    min-height: 3.5rem;
    vertical-align: middle;
}

.table-pola tr td.pola-unavailable .pola-unavailable-title {
    display: block;
    color: #ff8a8a;
    font-weight: 700;
    margin-bottom: 0.35rem;
    text-shadow: 0 0 8px rgba(255, 100, 100, 0.35);
}

.table-pola tr td.pola-unavailable .pola-unavailable-desc {
    display: block;
    color: #ffc9c9;
    font-weight: 500;
    line-height: 1.4;
}

body.rtp-light .table-pola tr td.pola-unavailable {
    color: #8b2020;
    background: rgba(220, 80, 80, 0.12);
    border-color: rgba(180, 60, 60, 0.45);
}

body.rtp-light .table-pola tr td.pola-unavailable .pola-unavailable-title {
    color: #a82828;
    text-shadow: none;
}

body.rtp-light .table-pola tr td.pola-unavailable .pola-unavailable-desc {
    color: #6b2020;
}

body.rtp-light .table-pola tr td,
body.rtp-light .table-pola tr td.pola-label {
    color: #4a3606;
    text-shadow: none;
}

body.rtp-light .pola-wrapper h4,
body.rtp-light .pola-wrapper h5 {
    color: #7a5a10;
}

body.rtp-light .pola-wrapper h4 i,
body.rtp-light .pola-wrapper h5 i {
    color: #a67c00;
}

.rtp-card .percent {
    margin-top: auto;
    padding-top: 0.35rem;
}

.place-img-rtp {
    flex-shrink: 0;
}

.icon-providers {
    width: 1.55rem;
    height: 1.55rem;
    top: 0.4rem;
    right: 0.4rem;
}

.icon-providers img {
    width: 1.45rem;
    height: 1.45rem;
    object-fit: contain;
}

@media screen and (max-width: 768px) {
    #rtp-content .rtp-card .place-img-rtp {
        padding: 0.35rem;
    }

    .table-pola tr td.pola-label {
        font-size: 0.6rem;
    }

    .pola-turbo-chip {
        width: 1.15rem;
        height: 1.15rem;
    }

    .pola-turbo-chip .lni {
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 380px) {
    .pola-turbo-group {
        gap: 0.15rem;
    }

    .pola-turbo-chip {
        width: 1.05rem;
        height: 1.05rem;
    }
}
