.dc-mdt-banner {
    box-sizing: border-box;
    width: 100%;
    min-height: 58px;
    margin: 0 0 18px;
    padding: 8px 10px 8px 12px;
    border: 1px solid #ead9bd;
    border-radius: 12px;
    background: #fff7e8;
    color: #3e3429;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    line-height: 1.45;
}

.dc-mdt-banner__copy {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.dc-mdt-action__coin {
    width: 28px;
    height: 28px;
    flex: 0 0 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #d79620;
    font-size: 21px;
    overflow: hidden;
}

.dc-mdt-action__coin img {
    width: 20px;
    height: 24px;
    object-fit: contain;
}

.dc-mdt-banner__text {
    min-width: 0;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.dc-mdt-banner__text strong {
    color: #F44336;
    font-size: 16px;
    font-variant-numeric: tabular-nums;
}

.dc-mdt-banner > .dc-mdt-banner__copy > #dc-mdt-banner-info {
    box-sizing: border-box;
    width: 18px;
    min-width: 18px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #aa8758;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 18px;
    line-height: 1;
}

.dc-mdt-banner > .dc-mdt-banner__copy > #dc-mdt-banner-info::before {
    content: '';
    position: absolute;
    inset: -6px -13px;
}

.dc-mdt-banner > .dc-mdt-banner__copy > #dc-mdt-banner-info:focus-visible {
    background: rgba(170, 135, 88, .13);
    outline: 2px solid rgba(170, 135, 88, .32);
    outline-offset: 1px;
}

.dc-mdt-banner__action {
    box-sizing: border-box;
    min-height: 35px;
    flex: 0 0 auto;
    padding: 0 5px;
    border-radius: 999px;
    background: #2f3238;
    color: #eddfcc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    gap: 5px;
    position: relative;
}

.dc-mdt-action__label {
    display: inline-block;
}

.dc-mdt-action__arrow {
    width: 8px;
    flex: 0 0 8px;
    font-size: 11px;
    line-height: 1;
}

.dc-mdt-banner__action:focus-visible {
    color: #fff;
    outline: 2px solid rgba(41, 42, 49, .25);
    outline-offset: 2px;
}

.dc-mdt-banner__action[aria-disabled="true"] {
    cursor: default;
    opacity: .85;
}

.dc-mdt-dialog {
    box-sizing: border-box;
    padding: 18px;
    border-radius: 14px 14px 0 0;
    color: #2d3139;
    background: #fff;
}

body .layui-layer.dc-mdt-layer {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

body .layui-layer.dc-mdt-layer .layui-layer-content {
    border-radius: 14px 14px 0 0;
    overflow: hidden;
    background: #fff;
}

body .layui-layer.dc-mdt-layer .layui-layer-btn {
    border-radius: 0 0 14px 14px;
    background: #fff;
}

.dc-mdt-dialog__title {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 700;
}

.dc-mdt-dialog__row {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.dc-mdt-dialog__row:last-of-type {
    border-bottom: 0;
}

.dc-mdt-dialog__name {
    min-width: 0;
    overflow-wrap: anywhere;
}

.dc-mdt-dialog__price {
    flex: 0 0 auto;
    font-variant-numeric: tabular-nums;
}

.dc-mdt-dialog__saving {
    margin-left: 7px;
    color: #dc4c41;
    font-size: 12px;
}

.dc-mdt-dialog__highest {
    margin-left: 6px;
    color: #b67916;
    font-size: 12px;
}

html[data-theme="dark"] .dc-mdt-banner {
    border-color: #66543b;
    background: #30281d;
    color: #f2e6d2;
}

html[data-theme="dark"] .dc-mdt-banner__text strong {
    color: #ff8177;
}

html[data-theme="dark"] #dc-mdt-banner-info {
    color: #e1b56e;
}

html[data-theme="dark"] .dc-mdt-dialog,
html[data-theme="dark"] body .layui-layer.dc-mdt-layer,
html[data-theme="dark"] body .layui-layer.dc-mdt-layer .layui-layer-content,
html[data-theme="dark"] body .layui-layer.dc-mdt-layer .layui-layer-btn {
    background: #1e1f23;
    color: #e8e9ec;
}

html[data-theme="dark"] .dc-mdt-dialog__row {
    border-color: #363941;
}

html[data-theme="dark"] .dc-mdt-dialog__saving {
    color: #ff8177;
}

html[data-theme="dark"] .dc-mdt-dialog__highest {
    color: #e1b56e;
}

@media (max-width: 480px) {
    .dc-mdt-banner {
        min-height: 0;
        align-items: center;
        gap: 5px;
        margin-bottom: 14px;
        padding:6px 8px;
    }

    .dc-mdt-banner__copy {
        gap: 0;
    }

    .dc-mdt-action__coin {
        width: 24px;
        min-width: 15px;
        height: 30px;
        flex-basis: 20px;
        font-size: 18px;
    }

    .dc-mdt-action__coin img {
        width: 20px;
        height: 21px;
    }

    .dc-mdt-banner__text {
        font-size: 13px;
    }

    .dc-mdt-banner__text strong {
        font-size: 15px;
    }

    .dc-mdt-banner > .dc-mdt-banner__copy > #dc-mdt-banner-info {
        width: 16px;
        min-width: 16px;
        height: 28px;
        font-size: 16px;
    }

    .dc-mdt-banner > .dc-mdt-banner__copy > #dc-mdt-banner-info::before {
        inset: -8px -14px;
    }

    .dc-mdt-banner__action {
        min-height: 25px;
        align-self: center;
        padding: 0 8px;
        font-size: 12px;
        gap: 2px;
    }

    .dc-mdt-banner__action::before {
        content: '';
        position: absolute;
        inset: -7px 0;
    }
}

@media (max-width: 335px) {
    .dc-mdt-banner__copy {
        gap: 0;
    }

    .dc-mdt-banner__action {
        padding: 0 8px;
    }
}
