.s-pools--cards {
    display: flex;
    flex-direction: column;
    margin: 30px 0;
    clear: both;
}

.s-pools--cards .s-pool {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    padding: 15px;
    background-color: #ffffff;
    border: 1px solid #F6F5F6;
    border-radius: 10px;
}

.s-pools--cards.s-pools--dark .s-pool {
    background-color: #3F3C4D;
    border-color: #3F3C4D;
}

.s-pools--cards .s-pool:not(:last-child) {
    margin-bottom: 12px;
}

.s-pools--cards .s-pool__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 66px;
    height: 66px;
    margin-right: 15px;
    border-radius: 4px;
}

.s-pools--cards .s-pool__info {
    width: calc(100% - 66px - 15px);
}

.s-pools--cards .s-pool__name {
    font-size: 18px;
    line-height: 21px;
    font-weight: 500;
    word-break: break-word;
    color: #000000;
}

.s-pools--cards.s-pools--dark .s-pool__name {
    color: #ffffff;
}

.s-pools--cards .s-pool__meta {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.s-pools--cards .s-pool__rating {
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 16px;
    font-weight: bold;
    color: #0072DB;
}

.s-pools--cards.s-pools--dark .s-pool__rating {
    color: #51ABFF;
}

.s-pools--cards.s-pools--dark .s-pool__rating:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath fill='%2351ABFF' d='M11.94 4.83 9.113 7.586l.667 3.89a.195.195 0 0 1-.079.194.195.195 0 0 1-.208.015L6.08 9.89l-3.58 1.81a.196.196 0 0 1-.206-.016.193.193 0 0 1-.077-.193l.67-3.906L.06 4.83a.198.198 0 0 1 .109-.338l3.905-.568L5.822.384c.034-.07.1-.11.176-.11.077 0 .143.04.176.11l1.748 3.54 3.906.568a.194.194 0 0 1 .159.135.189.189 0 0 1-.047.203Z'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h12v12H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
}

.s-pools--cards .s-pool__comments {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    font-size: 14px;
    line-height: 16px;
    text-decoration: none;
    color: #000000;
}

.s-pools--cards.s-pools--dark .s-pool__comments {
    color: #ffffff;
}

.s-pools--cards.s-pools--dark .s-pool__comments:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath fill='%23B1B1B1' d='M1.089 1.75C.494 1.75 0 2.244 0 2.84v8.322c0 .595.494 1.09 1.089 1.09h3.728l1.896 1.65a.466.466 0 0 0 .574 0l1.896-1.65h3.728c.595 0 1.089-.495 1.089-1.09V2.84c0-.595-.494-1.089-1.089-1.089H1.09Zm0 .875H12.91c.094 0 .214.12.214.214v8.322c0 .095-.12.214-.214.214H9.188c-.104 0-.37-.024-.453.039L7 12.944l-1.735-1.53c-.083-.063-.349-.04-.452-.039H1.088c-.094 0-.214-.12-.214-.214V2.84c0-.094.12-.214.214-.214ZM2.75 4.317a.467.467 0 1 0 .049.933h8.4a.467.467 0 1 0 0-.933H2.751Zm0 2.1a.467.467 0 1 0 .049.933h8.4a.467.467 0 1 0 0-.933H2.751Zm0 2.275a.467.467 0 1 0 .049.933h8.4a.467.467 0 1 0 0-.933H2.751Z'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h14v14H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
}

.s-pools--cards .s-pool__payments {
    width: 100%;
    margin-top: 10px;
}

.s-pools--cards .s-pool__payments-label {
    font-size: 14px;
    line-height: 18px;
    color: #808080
}

.s-pools--cards .s-pool__payments-items {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.s-pools--cards .s-pool__payments-items .tooltip__content {
    min-width: 250px;
}

.s-pools--cards .s-pool__payments-grid {
    display: flex;
    flex-wrap: wrap;
}

.s-pools--cards .s-pool__payment,
.s-pools--cards .s-pool__more {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 23px;
    margin-right: 5px;
    padding: 0 6px;
    font-size: 13px;
    line-height: 15px;
    font-weight: 500;
    color: #0072DB;
    background-color: transparent;
    border: 1px solid #D9DADC;
    border-radius: 4px;
}

.s-pools--cards.s-pools--dark .s-pool__payment,
.s-pools--cards.s-pools--dark .s-pool__more {
    background-color: #ECF1F7;
}

.s-pools--cards .s-pool__more {
    margin-right: 0;
}

.s-pools--cards .s-pool__more:hover {
    background-color: #ececec;
}

.s-pools--cards .s-pool__payments-grid .s-pools--cards .s-pool__payment {
    width: calc(20% - 6px);
    margin: 6px 3px 0;
    z-index: 1;
}

.s-pools--cards .s-pool__payment + .tooltip__content {
    max-width: 250px;
    min-width: initial;
    width: max-content;
    padding: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.s-pools--cards .s-pool__props {
    width: 100%;
    margin: 10px 0;
    padding: 10px 0;
    border-top: 1px solid #F6F5F6;
    border-bottom: 1px solid #F6F5F6;
}

.s-pools--cards.s-pools--dark .s-pool__props {
    border-top: 1px solid #64616F;
    border-bottom: 1px solid #64616F;
}

.s-pools--cards .s-pool__props--no-button {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
}

.s-pools--cards .s-pool__prop {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.s-pools--cards .s-pool__prop:after {
    content: "";
    flex-grow: 1;
    display: block;
    height: 1px;
    margin-bottom: 4px;
    background-image: linear-gradient(to right, #808080 33%, rgba(255, 255, 255, 0) 0%);
    background-position: bottom;
    background-size: 3px 1px;
    background-repeat: repeat-x;
}

.s-pools--cards .s-pool__prop:not(:last-child) {
    margin-bottom: 15px;
}

.s-pools--cards .s-pool__prop-label {
    order: -1;
    margin-right: 5px;
    font-size: 14px;
    line-height: 18px;
    color: #808080;
    white-space: nowrap;
}

.s-pools--cards.s-pools--dark .s-pool__prop-label {
    color: #B1B1B1;
}

.s-pools--cards .s-pool__prop-label[data-text]:before {
    content: attr(data-text);
}

.s-pools--cards .s-pool__prop-value {
    display: flex;
    align-items: center;
    order: 1;
    margin-left: 5px;
    font-size: 16px;
    line-height: 18px;
    font-weight: 500;
    text-align: right;
}

.s-pools--cards.s-pools--dark .s-pool__prop-value {
    color: #ffffff;
}

.s-pools--cards .s-pool__prop--coins {
    flex-direction: column;
    align-items: flex-start;
}

.s-pools--cards .s-pool__prop--coins:after {
    display: none;
}

.s-pools--cards .s-pool__prop--coins .s-pool__prop-label {
    margin: 0 0 10px;
}

.s-pools--cards .s-pool__prop--coins .s-pool__prop-value {
    margin: 0;
}

.s-pools--cards .s-pool__coins {
    display: flex;
    align-items: center;
}

.s-pools--cards .s-pool__coins .tooltip__content {
    min-width: 250px;
}

.s-pools--cards .s-pool__coins .tooltip__content:before {
    right: 25px;
}

.s-pools--cards .s-pool__coin {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
    font-size: 14px;
    line-height: 19px;
    font-weight: 500;
    text-decoration: none;
    color: #000000;
}

.s-pools--cards.s-pools--dark .s-pool__coin {
    color: #ffffff;
}

a.s-pools--cards .s-pool__coin:hover {
    text-decoration: underline;
}

.s-pools--cards .s-pool__coin > img {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin: 0 5px 0 0;
}

.s-pools--cards .s-pool__coins-grid {
    display: flex;
    flex-wrap: wrap;
    margin: -6px -3px 0;
}

.s-pools--cards .s-pool__coins-grid .s-pool__coin {
    width: calc(33.3% - 6px);
    height: 23px;
    padding: 0 6px;
    margin: 6px 3px 0 !important;
    border: 1px solid #D9DADC;
    border-radius: 4px;
}

.s-pools--cards.s-pools--dark .s-pool__coins-grid .s-pool__coin {
    color: #000000;
}

.s-pools--cards .s-pool__button {
    width: 100%;
    height: 32px;
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
}

.s-pools--table {
    display: flex;
    flex-direction: column;
    margin: 30px 0;
    border: 1px solid #F6F5F6;
    clear: both;
}

.s-pools--table .s-pool {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    padding: 15px;
}

.s-pools--table .s-pool--highlight {
    background-color: rgba(255, 199, 0, 0.10);
}

.s-pools--table .s-pool--highlight:before {
    content: "";
    position: absolute;
    top: 15px;
    left: 0;
    width: 5px;
    height: calc(100% - 30px);
    background-color: #FFC700;
}

.s-pools--table .s-pool:not(:last-child) {
    border-bottom: 1px solid #F6F5F6;
}

.s-pools--table .s-pool-item__label {
    display: flex;
    align-items: center;
    position: absolute;
    top: -1px;
    left: 15px;
    padding: 0 7px;
    font-size: 10px;
    line-height: 14px;
    font-weight: bold;
    text-transform: uppercase;
    color: #000000;
    background-color: #FFC700;
}

.s-pools--table .s-pool__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    margin-right: 15px;
    border: 1px solid #ECF1F7;
    border-radius: 4px;
}

.s-pools--table .s-pool__info {
    width: calc(100% - 66px - 15px);
}

.s-pools--table .s-pool__name {
    font-size: 16px;
    font-weight: 500;
    word-break: break-word;
    color: #000000;
}

.s-pools--table .s-pool__meta {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.s-pools--table .s-pool__rating {
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 16px;
    font-weight: bold;
    color: #0072DB;
}

.s-pools--table .s-pool__comments {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    font-size: 14px;
    line-height: 16px;
    text-decoration: none;
    color: #000000;
}

.s-pools--table .s-pool__payments {
    width: 100%;
}

.s-pools--table .s-pool__payments-items {
    display: flex;
    align-items: center;
}

.s-pools--table .s-pool__payments-items .tooltip__content {
    min-width: 250px;
}

.s-pools--table .s-pool__payments-grid {
    display: flex;
    flex-wrap: wrap;
}

.s-pools--table .s-pool__payment,
.s-pools--table .s-pool__more {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 23px;
    margin-right: 5px;
    padding: 0 6px;
    font-size: 13px;
    line-height: 15px;
    font-weight: 500;
    color: #0072DB;
    background-color: transparent;
    border: 1px solid #D9DADC;
    border-radius: 4px;
}

.s-pools--table .s-pool__more {
    margin-right: 0;
}

.s-pools--table .s-pool__more:hover {
    background-color: #ececec;
}

.s-pools--table .s-pool__payments-grid .s-pools--table .s-pool__payment {
    width: calc(20% - 6px);
    margin: 6px 3px 0;
    z-index: 1;
}

.s-pools--table .s-pool__payment + .tooltip__content {
    max-width: 250px;
    min-width: initial;
    width: max-content;
    padding: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.s-pools--table .s-pool__props {
    width: 100%;
    margin: 10px 0;
    padding: 10px 0;
    border-top: 1px solid #F6F5F6;
    border-bottom: 1px solid #F6F5F6;
}

.s-pools--table .s-pool__props--no-button {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
}

.s-pools--table .s-pool__prop {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.s-pools--table .s-pool__prop:after {
    content: "";
    flex-grow: 1;
    display: block;
    height: 1px;
    margin-bottom: 4px;
    background-image: linear-gradient(to right, #808080 33%, rgba(255, 255, 255, 0) 0%);
    background-position: bottom;
    background-size: 3px 1px;
    background-repeat: repeat-x;
}

.s-pools--table .s-pool__prop:not(:last-child) {
    margin-bottom: 10px;
}

.s-pools--table .s-pool__prop-label {
    order: -1;
    margin-right: 5px;
    font-size: 14px;
    line-height: 18px;
    color: #808080;
    white-space: nowrap;
}

.s-pools--table .s-pool__prop-label[data-text]:before {
    content: attr(data-text);
}

.s-pools--table .s-pool__prop-value {
    display: flex;
    align-items: center;
    order: 1;
    margin-left: 5px;
    font-size: 16px;
    line-height: 18px;
    font-weight: 500;
    text-align: right;
}

.s-pools--table .s-pool__prop--coins,
.s-pools--table .s-pool__prop--payments {
    flex-direction: column;
    align-items: flex-start;
}

.s-pools--table .s-pool__prop--coins:after,
.s-pools--table .s-pool__prop--payments:after {
    display: none;
}

.s-pools--table .s-pool__prop--coins .s-pool__prop-label,
.s-pools--table .s-pool__prop--payments .s-pool__prop-label {
    margin: 0 0 10px;
}

.s-pools--table .s-pool__prop--coins .s-pool__prop-value,
.s-pools--table .s-pool__prop--payments .s-pool__prop-value {
    margin: 0;
}

.s-pools--table .s-pool__coins {
    display: flex;
    align-items: center;
}

.s-pools--table .s-pool__coins .tooltip__content {
    min-width: 250px;
}

.s-pools--table .s-pool__coin {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
    font-size: 14px;
    line-height: 19px;
    font-weight: 500;
    text-decoration: none;
    color: #000000;
}

a.s-pools--table .s-pool__coin:hover {
    text-decoration: underline;
}

.s-pools--table .s-pool__coin > img {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin: 0 5px 0 0;
}

.s-pools--table .s-pool__coins-grid {
    display: flex;
    flex-wrap: wrap;
    margin: -6px -3px 0;
}

.s-pools--table .s-pool__coins-grid .s-pool__coin {
    width: calc(33.3% - 6px);
    height: 23px;
    padding: 0 6px;
    margin: 6px 3px 0 !important;
    border: 1px solid #D9DADC;
    border-radius: 4px;
    z-index: 1;
}

.s-pools--table .s-pool__button {
    width: 100%;
    height: 32px;
    padding: 0;
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

/*** Responsive ***/

@media (min-width: 360px) {

    .s-pools--cards .s-pool__coin {
        margin-right: 10px;
        font-size: 16px;
    }
}

@media (min-width: 768px) {

    .s-pools--cards .s-pool__info {
        width: 130px;
        margin-right: 15px;
    }

    .s-pools--cards .s-pool__payments {
        width: calc(100% - 66px - 15px - 130px - 15px - 114px - 15px);
        margin-right: 15px;
    }

    .s-pools--cards .s-pool__payments-label {
        display: none;
    }

    .s-pools--cards .s-pool__payments-items {
        margin: 0 0 30px;
    }

    .s-pools--cards .s-pool__payments-items .tooltip__content {
        left: 50%;
        transform: translateX(-50%);
    }

    .s-pools--cards .s-pool__payments-items .tooltip__content:before {
        left: 50%;
        margin-left: -6px;
    }

    .s-pools--cards .s-pool__props {
        order: 10;
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: 0 !important;
    }

    .s-pools--cards .s-pool__props-inside {
        display: flex;
        justify-content: space-between;
        margin: 0 -10px;
    }

    .s-pools--cards .s-pool__prop {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        margin: 0 10px !important;
    }

    .s-pools--cards .s-pool__prop:after {
        display: none;
    }

    .s-pools--cards .s-pool__prop--locations {
        width: 150px;
    }

    .s-pools--cards .s-pool__prop--coins {
        width: 310px;
    }

    .s-pools--cards .s-pool__prop-label {
        order: 2;
        margin: 5px 0 0 !important;
    }

    .s-pools--cards .s-pool__prop-value {
        order: 1;
        margin: 0;
        text-align: left;
    }

    .s-pools--cards .s-pool__coin {
        margin-right: 15px;
    }

    .s-pools--cards .s-pool__button {
        width: 114px;
        margin-left: auto;
    }

    .s-pools--table .s-pool {
        flex-wrap: nowrap;
        gap: 12px;
        padding: 15px 12px;
    }

    .s-pools--table .s-pool__logo {
        margin-right: 0;
    }

    .s-pools--table .s-pool__info {
        flex-shrink: 0;
        width: 110px;
    }

    .s-pools--table .s-pool__props {
        margin: 0;
        padding: 0;
        border: 0;
    }

    .s-pools--table .s-pool__props-inside {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .s-pools--table .s-pool__prop {
        flex-direction: column;
        align-items: flex-start;
        margin: 0 !important;
    }

    .s-pools--table .s-pool__prop--fee {
        width: 80px;
    }

    .s-pools--table .s-pool__prop--payments {
        width: 145px;
    }

    .s-pools--table .s-pool__prop--coins {
        width: 155px;
    }

    .s-pools--table .s-pool__prop-label {
        order: 1;
        margin: 5px 0 0 !important;
        font-size: 12px;
    }

    .s-pools--table .s-pool__prop-label:before {
        display: none;
    }

    .s-pools--table .s-pool__prop-value {
        order: -1;
        margin: 0;
        text-align: left;
        white-space: nowrap;
    }

    .s-pools--table .s-pool__button {
        flex-shrink: 0;
        width: 90px;
    }

    .s-pools--table .s-pool__coins .tooltip__content {
        left: initial;
        right: 0;
        transform: initial;
    }

    .s-pools--table .s-pool__coins .tooltip__content:before {
        left: initial;
        margin-left: 0;
        right: 10px;
    }
}

@media (min-width: 1024px) {

    .s-pools--cards .s-pool__prop--coins {
        width: 380px;
    }

    .s-pools--table .s-pool__info {
        width: 200px;
    }

    .s-pools--table .s-pool__button {
        margin-left: 8px;
    }
}

@media (min-width: 1280px) {

    .s-pools--cards .s-pool__coins .tooltip__content {
        left: 50%;
        transform: translateX(-50%);
    }

    .s-pools--cards .s-pool__coins .tooltip__content:before {
        left: 50%;
        margin-left: -6px;
    }

    .s-pools--table .s-pool__info {
        width: 120px;
    }

    .s-pools--table .s-pool__coins .tooltip__content {
        left: 50%;
        right: initial;
        transform: translateX(-50%);
    }

    .s-pools--table .s-pool__coins .tooltip__content:before {
        left: 50%;
        right: initial;
        margin-left: -6px;
    }
}