.resultados-trivo-app {
    box-sizing: border-box;
    font-family: Nunito, Arial, sans-serif;
    max-width: 100%;
    white-space: normal;
}

.resultados-trivo-app *,
.resultados-trivo-app *::before,
.resultados-trivo-app *::after {
    box-sizing: border-box;
}

pre.mfn-code:has(.resultados-trivo-app),
pre.resultados-trivo-host {
    background: transparent !important;
    border: 0 !important;
    color: inherit !important;
    font-family: inherit !important;
    line-height: normal !important;
    margin: 0 !important;
    max-width: 100% !important;
    overflow: visible !important;
    padding: 0 !important;
    white-space: normal !important;
}

.rt-shell {
    background: var(--rt-background);
    color: var(--rt-text);
    border-radius: 10px;
    overflow: hidden;
}

.rt-hero {
    background: var(--rt-secondary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px;
}

.rt-hero h2 {
    color: inherit;
    font-size: clamp(26px, 4vw, 44px);
    line-height: 1.05;
    margin: 0 0 8px;
    font-weight: 900;
}

.rt-hero p {
    color: rgba(255, 255, 255, .78);
    margin: 0;
    max-width: 560px;
    font-weight: 700;
}

.rt-search {
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    display: flex;
    align-items: end;
    gap: 10px;
    padding: 12px;
}

.rt-search label {
    color: rgba(255, 255, 255, .8);
    display: grid;
    gap: 5px;
    font-size: 12px;
    font-weight: 800;
}

.rt-search input,
.rt-search button {
    border: 0;
    border-radius: 7px;
    font: inherit;
    font-weight: 800;
    min-height: 40px;
}

.rt-search input {
    color: var(--rt-text);
    padding: 0 10px;
}

.rt-search button,
.rt-actions button {
    background: var(--rt-primary);
    color: #fff;
    cursor: pointer;
    padding: 0 16px;
}

.rt-slots {
    background: rgba(255, 255, 255, .88);
    border-bottom: 1px solid rgba(15, 25, 35, .1);
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 18px;
}

.rt-slots button,
.rt-slots span {
    border: 1px solid rgba(15, 25, 35, .12);
    border-radius: 999px;
    color: rgba(15, 25, 35, .55);
    flex: 0 0 auto;
    font-family: inherit;
    font-size: 13px;
    font-weight: 900;
    padding: 7px 12px;
    text-decoration: none;
}

.rt-slots button {
    background: #fff;
    cursor: pointer;
}

.rt-slots .is-done {
    background: rgba(0, 184, 120, .12);
    border-color: rgba(0, 184, 120, .35);
    color: var(--rt-accent);
}

.rt-slots .is-active {
    background: var(--rt-primary);
    border-color: var(--rt-primary);
    color: #fff;
}

.rt-content {
    display: grid;
    gap: 18px;
    padding: 22px;
}

.rt-card {
    background: var(--rt-card);
    border: 1px solid rgba(15, 25, 35, .1);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 25, 35, .07);
    overflow: hidden;
}

.rt-card-head {
    align-items: center;
    background: var(--rt-card);
    border: 0;
    border-bottom: 1px solid rgba(15, 25, 35, .09);
    color: inherit;
    cursor: pointer;
    display: flex;
    font: inherit;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    text-align: left;
    width: 100%;
}

.rt-card-head strong {
    display: block;
    font-size: 20px;
    font-weight: 900;
}

.rt-card-head span {
    color: rgba(15, 25, 35, .62);
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-top: 3px;
    text-transform: capitalize;
}

.rt-card-head em {
    background: rgba(0, 157, 255, .12);
    border-radius: 999px;
    color: var(--rt-primary);
    font-style: normal;
    font-weight: 900;
    padding: 6px 12px;
}

.rt-card-meta {
    align-items: center;
    display: inline-flex;
    gap: 10px;
}

.rt-card-meta i {
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    color: #64748b;
    display: inline-block;
    height: 9px;
    transform: rotate(45deg);
    transition: transform .18s ease;
    width: 9px;
}

.rt-card.is-open .rt-card-meta i {
    transform: rotate(225deg);
}

.rt-card-body {
    display: none;
}

.rt-card.is-open .rt-card-body {
    display: block;
}

.rt-table {
    border-collapse: collapse;
    width: 100%;
}

.rt-table th {
    background: #f1f5f9;
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    padding: 9px 12px;
    text-align: center;
    text-transform: uppercase;
}

.rt-table td {
    border-top: 1px solid rgba(15, 25, 35, .08);
    padding: 9px 12px;
    text-align: center;
}

.rt-table tr:first-child td {
    background: rgba(0, 157, 255, .08);
}

.rt-pos {
    font-weight: 900;
    white-space: nowrap;
}

.rt-number {
    display: flex;
    gap: 7px;
    justify-content: center;
}

.rt-ball {
    align-items: center;
    background: var(--rt-primary);
    border-radius: 50%;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .28);
    color: #fff;
    display: inline-flex;
    font-size: 17px;
    font-weight: 900;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.rt-animal {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: center;
    min-width: 170px;
}

.rt-animal img {
    background: #f8fafc;
    border: 1px solid rgba(15, 25, 35, .08);
    border-radius: 50%;
    height: 42px;
    width: 42px;
}

.rt-animal span {
    display: grid;
    font-weight: 900;
    text-align: left;
}

.rt-animal small {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.rt-actions {
    background: #f8fafc;
    border-top: 1px solid rgba(15, 25, 35, .08);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 12px 16px;
}

.rt-actions button {
    border: 0;
    border-radius: 7px;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    min-height: 38px;
}

.rt-actions .rt-whatsapp {
    background: #25d366;
}

.rt-message {
    background: var(--rt-card);
    border: 1px solid rgba(15, 25, 35, .1);
    border-radius: 8px;
    font-weight: 800;
    padding: 28px;
    text-align: center;
}

.rt-error {
    color: #b91c1c;
}

@media (max-width: 720px) {
    .rt-shell {
        border-radius: 0;
    }

    .rt-hero {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        padding: 14px 12px;
    }

    .rt-hero h2 {
        font-size: 22px;
        margin-bottom: 4px;
    }

    .rt-hero p {
        display: none;
    }

    .rt-search {
        align-items: stretch;
        flex-direction: row;
        gap: 6px;
        padding: 8px;
    }

    .rt-search label {
        flex: 1 1 auto;
        min-width: 0;
    }

    .rt-search input,
    .rt-search button {
        min-height: 36px;
    }

    .rt-search input {
        width: 100%;
    }

    .rt-search button {
        flex: 0 0 auto;
        padding: 0 12px;
    }

    .rt-slots {
        gap: 6px;
        padding: 8px 10px;
    }

    .rt-slots button,
    .rt-slots span {
        font-size: 12px;
        padding: 6px 9px;
    }

    .rt-content {
        gap: 6px;
        padding: 8px;
    }

    .rt-card {
        border-radius: 7px;
        box-shadow: 0 2px 10px rgba(15, 25, 35, .06);
    }

    .rt-card-head {
        gap: 10px;
        padding: 10px 11px;
    }

    .rt-card-head strong {
        font-size: 16px;
    }

    .rt-card-head span {
        font-size: 12px;
        margin-top: 1px;
    }

    .rt-card-head em {
        font-size: 12px;
        padding: 4px 8px;
    }

    .rt-table-wrap {
        overflow: hidden;
    }

    .rt-table thead {
        display: none;
    }

    .rt-table,
    .rt-table tbody {
        display: block;
        width: 100%;
    }

    .rt-table tr {
        align-items: center;
        border-top: 1px solid rgba(15, 25, 35, .08);
        display: grid;
        gap: 5px;
        grid-template-columns: 72px minmax(122px, 1fr);
        padding: 7px 9px;
    }

    .rt-table-has-animals tr {
        grid-template-columns: 72px minmax(122px, 1fr) minmax(72px, auto);
    }

    .rt-table td {
        border: 0;
        display: flex;
        padding: 0;
    }

    .rt-pos {
        font-size: 12px;
        line-height: 1.1;
        text-align: left;
        white-space: normal;
    }

    .rt-number {
        gap: 4px;
        justify-content: flex-start;
    }

    .rt-ball {
        font-size: 14px;
        height: 28px;
        width: 28px;
    }

    .rt-animal {
        gap: 5px;
        justify-content: flex-start;
        min-width: 0;
    }

    .rt-animal img {
        height: 26px;
        width: 26px;
    }

    .rt-animal span {
        font-size: 11px;
        line-height: 1.1;
        max-width: 58px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .rt-animal small {
        font-size: 9px;
    }

    .rt-actions {
        flex-direction: column;
        gap: 7px;
        padding: 8px 10px 10px;
    }

    .rt-actions button {
        min-height: 36px;
    }

    .rt-actions button {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .rt-ball {
        height: 26px;
        width: 26px;
    }

    .rt-number {
        gap: 3px;
    }

    .rt-table tr {
        grid-template-columns: 62px minmax(112px, 1fr);
        padding-left: 7px;
        padding-right: 7px;
    }

    .rt-table-has-animals tr {
        grid-template-columns: 62px minmax(112px, 1fr) 62px;
    }

    .rt-animal img {
        display: none;
    }

    .rt-animal span {
        max-width: 62px;
    }
}
