.spools {
    margin: 30px 0;
    padding: 15px;
    clear: both;
    border: 1px solid #ECEBEC;
    border-radius: 10px;
}

.spools--dark {
    background-color: #3F3C4D;
    border-color: #3F3C4D;
}

.spools__header {
    display: none;
}

.spool-item {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    padding-top: 15px;
}

.spool-item:not(:last-child) {
    padding-bottom: 15px;
    border-bottom: 1px solid #ECEBEC;
}

.spools--dark .spool-item:not(:last-child) {
    border-bottom: 1px solid #64616F;
}

.spool-item__label {
    display: flex;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 7px;
    font-size: 10px;
    line-height: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
    background-color: #FFAC30;
}

.spool-item__info {
    display: flex;
    align-items: center;
    width: calc(100% - 85px);
}

.spool-item__logo {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    background-color: #ECF1F7;
    border-radius: 4px;
    overflow: hidden;
}

.spool-item__name {
    font-size: 16px;
    line-height: 20px;
    font-weight: bold;
    color: #000000;
}

.spools--dark .spool-item__name {
    color: #ffffff;
}

.spool-item__rating {
    display: flex;
    align-items: center;
    margin-top: 5px;
    font-size: 14px;
    line-height: 16px;
    font-weight: bold;
    color: #0072DB;
}

.spools--dark .spool-item__rating {
    color: #9BC9FF;
}

.spools--dark .spool-item__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='%239BC9FF' d='M11.94 4.83 9.113 7.586l.667 3.891a.195.195 0 0 1-.079.193.195.195 0 0 1-.208.015L6.08 9.891l-3.58 1.811a.196.196 0 0 1-.206-.017.193.193 0 0 1-.077-.193l.67-3.906L.06 4.83a.198.198 0 0 1 .109-.337l3.905-.568L5.822.385c.034-.07.1-.111.176-.111.077 0 .143.041.176.11l1.748 3.54 3.906.569a.194.194 0 0 1 .159.135.189.189 0 0 1-.047.202Z'/%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");
}

.spool-item__buttons {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 85px;
}

.spool-item__button {
    width: 56px;
    height: 24px;
    padding: 0;
    font-size: 13px;
    line-height: 1;
}

.spool-item__button-expand {
    position: relative;
    width: 24px;
    height: 24px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background-color: #F6F5F6;
    border-radius: 4px;
    box-sizing: border-box;
    z-index: 1;
}

.spool-item__button-expand:after {
    border-top-color: #000;
}

.spool-item__button-expand:hover {
    opacity: 0.8;
}

.expand-item--open .spool-item__button-expand {
    transform: rotate(180deg);
}

.spool-item__props {
    display: none;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    margin-top: 10px;
}

.expand-item--open .spool-item__props {
    display: flex;
}

.spool-item__prop {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.spool-item__prop:after {
    content: "";
    flex-grow: 1;
    min-width: 10px;
    display: block;
    height: 1px;
    margin: 0 5px 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;
}

.spools--dark .spool-item__prop:after {
    background-image: linear-gradient(to right, #B1B1B1 33%, rgba(255, 255, 255, 0) 0%);
}

.spool-item__prop-label {
    order: -1;
    font-size: 14px;
    line-height: 16px;
    color: #808080;
}

.spools--dark .spool-item__prop-label {
    color: #B1B1B1;
}

.spool-item__prop-value {
    order: 1;
    font-size: 15px;
    line-height: 20px;
    font-weight: bold;
    text-align: right;
}

.spools--dark .spool-item__prop-value {
    color: #ffffff;
}

.spool-item__more {
    display: flex;
    align-items: center;
    height: 20px;
    padding: 0 6px;
    font-size: 14px;
    line-height: 16px;
    color: #0072DB;
    border: 1px solid #D9DADC;
    border-radius: 4px;
    background-color: transparent;
}

.spool-item__more:hover {
    opacity: 0.8;
}

.spools--dark .spool-item__more {
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-position: under;
    color: #ffffff;
    border: 0;
}

.spool-item__coins {
    display: flex;
    align-items: center;
    gap: 4px;
}

.spool-item__coin {
    z-index: 1;
}

.spool-item__coin > img {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.spool-item__coins .tooltip__content {
    min-width: 300px;
}

.spool-item__coins .tooltip__content:after {
    right: 25px;
}

.spool-item__coins-grid {
    display: flex;
    flex-wrap: wrap;
    margin: -6px -3px 0;
}

.spool-item__coins-grid .spool-item__coin {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 19px;
    font-weight: 500;
    text-decoration: none;
    width: calc(33.3% - 6px);
    height: 23px;
    padding: 0 6px;
    margin: 6px 3px 0 !important;
    color: #000000;
    border: 1px solid #D9DADC;
    border-radius: 4px;
    z-index: 1;
}

.spool-item__coins-grid .spool-item__coin img {
    width: 16px;
    height: 16px;
    margin: 0 5px 0 0;
}

/*** Responsive ***/

@media (min-width: 768px) {

    .spools__header {
        display: flex;
        align-items: center;
        gap: 10px;
        padding-bottom: 15px;
        border-bottom: 1px solid #ECEBEC;
    }

    .spools--dark .spools__header {
        border-bottom: 1px solid #64616F;
    }

    .spools--single .spools__header {
        display: none;
    }

    .spools__cell-group {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .spools__cell {
        font-size: 14px;
        line-height: 24px;
        font-weight: bold;
        flex-shrink: 0;
    }

    .spools--dark .spools__cell {
        color: #ffffff;
    }

    .spool-item {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 10px;
    }

    .spool-item__button {
        width: 90px;
        height: 30px;
        font-size: 14px;
    }

    .spool-item__button-expand {
        display: none;
    }

    .spool-item__props {
        display: flex;
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
        margin: 0;
    }

    .spool-item__prop:after {
        display: none;
    }

    .spools--single .spool-item__prop {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .spool-item__prop-label {
        display: none;
    }

    .spools--single .spool-item__prop-label {
        order: 2;
        display: block;
    }

    .spool-item__prop-value {
        text-align: left;
    }

    .spools__cell--info,
    .spool-item__info {
        width: 180px;
        flex-shrink: 0;
    }

    .spools__cell--coins,
    .spool-item__prop--coins {
        width: 105px;
    }

    .spools__cell--fee,
    .spool-item__prop--fee {
        width: 70px;
    }

    .spools__cell--countries,
    .spool-item__prop--countries {
        width: 180px;
    }

    .spools__cell--buttons,
    .spool-item__buttons {
        order: 1;
        flex-shrink: 0;
        width: 90px;
    }

    .spool-item__coins .tooltip__content {
        right: initial;
        left: 0;
        margin-left: -150px;
    }

    .spool-item__coins .tooltip__content:before {
        right: initial;
        left: 50%;
        margin-left: 8px;
    }
}

@media (min-width: 1024px) {

    .spools__header,
    .spool-item {
        gap: 40px;
    }

    .spools__cell--info,
    .spool-item__info {
        width: 200px;
    }

    .spools__cell--countries,
    .spool-item__prop--countries {
        width: 250px;
    }
}

@media (min-width: 1280px) {

    .spools__header,
    .spool-item {
        gap: 15px;
    }

    .spools__cell--info,
    .spool-item__info {
        width: 180px;
    }

    .spools__cell--countries,
    .spool-item__prop--countries {
        width: 220px;
    }

    .spools__cell--fee,
    .spool-item__prop--fee {
        width: 90px;
    }
}