/* ==========================================
   КНОПКА "В ТОП" — МОБИЛЬНАЯ ВЕРСИЯ
   ========================================== */
@media (max-width: 768px) {
    /* Обёртка кнопки: позиционируем в правый верхний угол */
    .auction-btn-wrap {
        position: absolute !important;
        top: 8px !important;
        right: 8px !important;
        margin-left: 0 !important;
        flex-direction: row !important;
        z-index: 3 !important;
    }

    /* Кнопка: компактнее */
    .auction-btn-wrap .auction-open-btn {
        padding: 5px 10px !important;
        font-size: 11px !important;
        border-radius: 6px !important;
        gap: 3px !important;
        box-shadow: 0 2px 8px rgba(247,151,30,0.4) !important;
    }

    /* Скрываем SVG-стрелку на мобильном */
    .auction-btn-wrap .auction-open-btn svg {
        display: none !important;
    }

    /* Скрываем молнию на мобильном (для компактности) */
    .auction-btn-wrap .auction-open-btn span:last-child {
        display: none !important;
    }

    /* Скрываем статус "Участие активно" под кнопкой */
    .auction-btn-wrap .auction-btn-status {
        display: none !important;
    }
}


/* ==========================================
   МОДАЛЬНОЕ ОКНО АУКЦИОНА
   ========================================== */

#auctionModal.auction-modal {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999999 !important;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

#auctionModal.auction-modal.show,
#auctionModal.auction-modal[style*="display: flex"],
#auctionModal.auction-modal[style*="display:flex"] {
    display: flex !important;
}

#auctionModal .auction-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1;
}

#auctionModal .auction-modal-content {
    position: relative;
    background: #ffffff;
    max-width: 1100px;
    width: 100%;
    margin: 20px auto;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    animation: auctionSlideIn 0.25s ease-out;
    z-index: 2;
    overflow: hidden;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

@keyframes auctionSlideIn {
    from { opacity: 0; transform: translateY(30px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

#auctionModal .auction-modal-header {
    background: #1a1a2e;
    padding: 18px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #2a2a4e;
    flex-shrink: 0;
}

#auctionModal .auction-modal-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

#auctionModal .auction-modal-close {
    background: none;
    border: none;
    color: #aaa;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    transition: 0.2s;
    padding: 0 8px;
}

#auctionModal .auction-modal-close:hover {
    color: #ff6b6b;
    transform: rotate(90deg);
}

#auctionModal .auction-modal-body {
    padding: 25px 30px 30px;
    overflow-y: auto;
    background: #fcfcfd;
    flex: 1;
}


/* ==========================================
   ВНУТРЕННИЕ БЛОКИ
   ========================================== */

#auctionModal .auction-balance-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 14px;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

#auctionModal .auction-balance-value {
    font-weight: 700;
    color: #2ecc71;
    font-size: 24px;
}

#auctionModal .auction-btn-deposit {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
}

#auctionModal .auction-btn-deposit:hover {
    background: #2176bd;
    transform: scale(1.02);
}

#auctionModal .auction-participant-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: #e8f5e9;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid #4caf50;
    flex-wrap: wrap;
}

#auctionModal .auction-mode-switcher {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    flex-wrap: wrap;
}

#auctionModal .auction-mode-btn {
    padding: 8px 20px;
    border: 2px solid #dee2e6;
    background: white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
    color: #495057;
}

#auctionModal .auction-mode-btn.active {
    background: #1a1a2e;
    color: white;
    border-color: #1a1a2e;
}


/* ==========================================
   ТАБЛИЦА — АДАПТИВНАЯ, ДИНАМИЧЕСКИЕ КОЛОНКИ
   ========================================== */

#auctionModal .auction-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;  /* Плавный скролл на iOS */
    margin-bottom: 20px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    width: 100%;
    max-width: 100%;
}

#auctionModal .auction-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;          /* ✅ Динамическая ширина колонок */
    min-width: 480px;            /* Чтобы не схлопывалась на мобилке */
}

#auctionModal .auction-table thead {
    background: #1a1a2e;
    color: white;
}

#auctionModal .auction-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    vertical-align: middle;
    /* ✅ Не запрещаем перенос — колонки станут динамическими */
    word-break: break-word;
    hyphens: auto;
}

#auctionModal .auction-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #f1f3f5;
    vertical-align: middle;
    word-break: break-word;
    hyphens: auto;
}

/* Точечные правила для отдельных колонок */
#auctionModal .auction-table th:first-child,
#auctionModal .auction-table td:first-child {
    width: 1%;              /* Сжимается по контенту */
    white-space: nowrap;
    text-align: center;
}

#auctionModal .auction-table th:last-child,
#auctionModal .auction-table td:last-child {
    width: 1%;
    white-space: nowrap;
    text-align: right;
}

#auctionModal .auction-table tbody tr:hover {
    background: #f8f9fa;
}

#auctionModal .auction-table .my-shop {
    background: #fff3cd !important;
    border-left: 4px solid #ffc107;
}

#auctionModal .btn-bid {
    background: #2ecc71;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
}

#auctionModal .btn-bid:hover:not(:disabled) {
    background: #27ae60;
    transform: scale(1.04);
}

#auctionModal .btn-bid:disabled {
    background: #ced4da;
    cursor: not-allowed;
    opacity: 0.6;
}

#auctionModal .auction-my-position {
    background: #e3f2fd;
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    font-weight: 500;
    flex-wrap: wrap;
}

#auctionModal .auction-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
}

#auctionModal .auction-spinner {
    width: 45px;
    height: 45px;
    border: 5px solid #e9ecef;
    border-top: 5px solid #f7971e;
    border-radius: 50%;
    animation: auctionSpin 0.9s linear infinite;
}

@keyframes auctionSpin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#auctionModal .empty-place { opacity: 0.7; }
#auctionModal .empty-place td { color: #999; }


/* ==========================================
   КНОПКИ АУКЦИОНА
   ========================================== */

#auctionModal .btn-activate {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #f7971e, #ffd200);
    color: #1a1a2e;
    font-weight: 700;
    font-size: 14px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(247, 151, 30, 0.3);
    text-decoration: none;
    white-space: nowrap;
}

#auctionModal .btn-activate:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 25px rgba(247, 151, 30, 0.5);
}

#auctionModal .btn-activate:active {
    transform: scale(0.96);
}

#auctionModal .auction-btn-toggle-auto {
    display: block;
    width: 100%;
    padding: 12px 24px;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    text-align: center;
}

#auctionModal .auction-btn-toggle-auto:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 25px rgba(46, 204, 113, 0.5);
}

#auctionModal .auction-btn-toggle-auto.active {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

#auctionModal .auction-btn-toggle-auto.active:hover {
    box-shadow: 0 6px 25px rgba(231, 76, 60, 0.5);
}

#auctionModal .auction-btn-toggle-auto:active {
    transform: scale(0.98);
}


/* ==========================================
   РАДИО-КНОПКИ АВТОПИЛОТА
   ========================================== */

#auctionModal .interval-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

#auctionModal .interval-options label {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 0 !important;
    padding: 12px 15px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
    #auctionModal .interval-options label:hover {
        background: #f8f9fa;
        border-color: #adb5bd;
    }
}

#auctionModal .interval-options input[type="radio"] {
    -webkit-appearance: radio !important;
    -moz-appearance: radio !important;
    appearance: radio !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    margin: 0 12px 0 0 !important;
    padding: 0 !important;
    border: 2px solid #adb5bd !important;
    border-radius: 50% !important;
    background-color: #fff !important;
    cursor: pointer;
    flex-shrink: 0;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    transform: none !important;
}

#auctionModal .interval-options input[type="radio"]:checked {
    border-color: #1a1a2e !important;
    background-color: #1a1a2e !important;
    box-shadow: inset 0 0 0 3px #fff;
}

#auctionModal .interval-options label:has(input[type="radio"]:checked) {
    border-color: #1a1a2e;
    background: #f0f0ff;
    color: #1a1a2e;
    font-weight: 700;
}

#auctionModal .interval-options label.test-interval {
    border-color: #ffcdd2;
    background: #fff5f5;
    color: #c62828;
}

#auctionModal .interval-options label.test-interval:has(input[type="radio"]:checked) {
    border-color: #e74c3c;
    background: #ffebee;
    color: #b71c1c;
}


/* ==========================================
   ИСТОРИЯ
   ========================================== */

.auction-history-list,
#historyList {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.auction-history-list::-webkit-scrollbar,
#historyList::-webkit-scrollbar {
    width: 6px;
}

.auction-history-list::-webkit-scrollbar-thumb,
#historyList::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

#historyList::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#historyList::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}


/* ==========================================
   АДАПТИВ
   ========================================== */

/* Планшеты */
@media (max-width: 768px) {
    #auctionModal.auction-modal {
        padding: 10px;
        align-items: flex-start;
    }

    #auctionModal .auction-modal-content {
        margin: 10px auto;
        max-height: 95vh;
        border-radius: 16px;
        width: 100%;
    }

    #auctionModal .auction-modal-header {
        padding: 14px 18px;
    }

    #auctionModal .auction-modal-header h2 {
        font-size: 18px;
    }

    #auctionModal .auction-modal-close {
        font-size: 30px;
    }

    #auctionModal .auction-modal-body {
        padding: 15px;
    }

    #auctionModal .auction-balance-block {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    #auctionModal .auction-my-position {
        flex-direction: column;
        gap: 5px;
    }

    #auctionModal .auction-table {
        font-size: 13px;
        min-width: 420px;   /* Меньше — таблица не будет вылезать */
    }

    #auctionModal .auction-table th,
    #auctionModal .auction-table td {
        padding: 8px 10px;
    }
}

/* Телефоны */
@media (max-width: 576px) {
    #auctionModal .auction-modal-header h2 {
        font-size: 16px;
    }

    #auctionModal .auction-table {
        font-size: 12px;
        min-width: 360px;
    }

    #auctionModal .auction-table th,
    #auctionModal .auction-table td {
        padding: 6px 8px;
    }

    #auctionModal .auction-mode-switcher {
        flex-direction: column;
    }

    #auctionModal .auction-mode-btn {
        width: 100%;
        text-align: center;
    }

    #auctionModal .interval-options label {
        padding: 10px 12px;
        font-size: 13px;
        min-height: 44px;
    }

    #auctionModal .interval-options input[type="radio"] {
        width: 16px !important;
        height: 16px !important;
        min-width: 16px !important;
        margin-right: 10px !important;
    }

    #auctionModal .auction-btn-toggle-auto {
        font-size: 14px;
        padding: 10px 18px;
    }
}

/* Очень маленькие экраны */
@media (max-width: 400px) {
    #auctionModal .auction-table {
        font-size: 11px;
        min-width: 320px;
    }

    #auctionModal .auction-table th,
    #auctionModal .auction-table td {
        padding: 5px 6px;
    }
}

/* ==========================================
   КНОПКА "ПОДНЯТЬ" (единый стиль для всех устройств)
   ========================================== */

#auctionModal .btn-bid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 18px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
    min-width: 44px;
    min-height: 36px;
}

/* Активная */
#auctionModal .btn-bid--active {
    background: #2ecc71;
    color: #fff;
    box-shadow: 0 2px 8px rgba(46, 204, 113, 0.35);
}
#auctionModal .btn-bid--active:hover:not(:disabled) {
    background: #27ae60;
    transform: scale(1.05);
}
#auctionModal .btn-bid--active:active:not(:disabled) {
    transform: scale(0.97);
}

/* Неактивная */
#auctionModal .btn-bid--disabled,
#auctionModal .btn-bid:disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
    box-shadow: none;
}

/* Текст — всегда виден */
#auctionModal .btn-bid__text {
    display: inline;
}

/* Иконка — всегда скрыта */
#auctionModal .btn-bid__icon {
    display: none;
}

/* Адаптив: кнопка чуть меньше по бокам на мобильном, но текст остаётся */
@media (max-width: 576px) {
    #auctionModal .btn-bid {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* Кнопка "Занять" — тот же стиль, что и "Поднять" */
#auctionModal .btn-take {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 18px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
    min-width: 44px;
    min-height: 36px;
    background: #2ecc71;
    color: #fff;
    box-shadow: 0 2px 8px rgba(46, 204, 113, 0.35);
}

#auctionModal .btn-take:hover:not(:disabled) {
    background: #27ae60;
    transform: scale(1.05);
}

#auctionModal .btn-take:disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
    box-shadow: none;
}

@media (max-width: 576px) {
    #auctionModal .btn-take {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* Цены — всегда показываем копейки */
#auctionModal .price-cents,
#auctionModal .price-currency {
    display: inline;
}

 /* Стили мест аукцион шопы. обрамление */
/* Золотая окантовка с градиентом */
.shop-item-card-list.place-gold {
    position: relative;
    border: none !important;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4), 0 1px 4px rgba(0,0,0,0.06) !important;
}
.shop-item-card-list.place-gold::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 3px;
    background: linear-gradient(135deg, #FFD700, #FFA500, #FFD700, #FFA500, #FFD700);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

/* Серебряная */
.shop-item-card-list.place-silver::before {
    background: linear-gradient(135deg, #E8E8E8, #C0C0C0, #E8E8E8, #A9A9A9);
}

/* Бронзовая */
.shop-item-card-list.place-bronze::before {
    background: linear-gradient(135deg, #CD7F32, #8B4513, #CD7F32, #A0522D);
}

/* ==========================================
   МИНИ-МОДАЛКА ВЫКУПА (bidModal)
   ========================================== */

/* Ползунок */
#bidModalSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f7971e, #ffd200);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(247, 151, 30, 0.4);
    transition: all 0.2s ease;
}

#bidModalSlider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(247, 151, 30, 0.6);
}

#bidModalSlider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f7971e, #ffd200);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(247, 151, 30, 0.4);
    transition: all 0.2s ease;
}

#bidModalSlider::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(247, 151, 30, 0.6);
}

/* Убираем стрелки у input[type=number] */
#bidModalAmount::-webkit-outer-spin-button,
#bidModalAmount::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#bidModalAmount[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* ==========================================
   ЧЕКБОКС СОГЛАШЕНИЯ БИТВЫ ЗА ТОП
   Принудительно показываем, перебиваем глобальные стили
   ========================================== */
input#shopAuctionAgreementCheckbox,
#shopAuctionAgreementCheckbox.auction-agreement-checkbox,
.auction-agreement-checkbox {
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    appearance: checkbox !important;

    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    clip: auto !important;
    clip-path: none !important;
    transform: none !important;

    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;

    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
    vertical-align: middle;
    accent-color: #2ecc71;
    box-sizing: border-box !important;
}

/* ==========================================
   КНОПКА "УЧАСТВУЙТЕ В БИТВЕ ЗА ТОП"
   ========================================== */

/* Активная кнопка (чекбокс отмечен) */
.shop-auction-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #f7971e, #ffd200);
    color: #1a1a2e;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(247, 151, 30, 0.4);
    white-space: nowrap;
}

.shop-auction-btn:hover:not(:disabled) {
    transform: scale(1.03);
    box-shadow: 0 6px 25px rgba(247, 151, 30, 0.6);
}

/* ==========================================
   СЕРАЯ (ЗАБЛОКИРОВАННАЯ) КНОПКА
   Когда чекбокс не отмечен
   ========================================== */
.shop-auction-btn:disabled,
.shop-auction-btn[disabled] {
    background: #e0e0e0 !important;
    background-image: none !important;
    color: #999 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    opacity: 0.7 !important;
    transform: none !important;
}

.shop-auction-btn:disabled:hover,
.shop-auction-btn[disabled]:hover {
    background: #e0e0e0 !important;
    box-shadow: none !important;
    transform: none !important;
}

/* ==========================================
   ОБРАТНЫЙ СЧЁТЧИК ДО КОНЦА АУКЦИОНА
   ========================================== */
#auctionModal .auction-countdown-block {
    background: linear-gradient(135deg, #1a1a2e 0%, #2a2a4e 100%);
    border-radius: 14px;
    padding: 16px 24px;
    margin-bottom: 15px;
    text-align: center;
    color: #b8b8d0;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 20px rgba(26, 26, 46, 0.3);
    border: 1px solid #3a3a5e;
    line-height: 1.4;
}

#auctionModal .cd-num {
    color: #ffd200;
    font-size: 22px;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    margin: 0 2px;
    text-shadow: 0 0 15px rgba(255, 210, 0, 0.4);
}

/* Режим «меньше суток» — красный + пульсация */
#auctionModal .auction-countdown-block.warning {
    color: #ffb8b8;
}
#auctionModal .auction-countdown-block.warning .cd-num {
    color: #ff6b6b;
    text-shadow: 0 0 15px rgba(255, 107, 107, 0.6);
    animation: countdownPulse 1.5s ease-in-out infinite;
}

@keyframes countdownPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}



/* Мобилка */
@media (max-width: 576px) {
    #auctionModal .auction-countdown-block {
        padding: 12px 16px;
        font-size: 13px;
    }
    #auctionModal .cd-num {
        font-size: 18px;
    }
}

