﻿/* =========================================================
   SafeGG Auction
   ========================================================= */


/* ===========================
   Common
=========================== */

.auction-page {
    width: 100%;
    box-sizing: border-box;
}

    .auction-page *,
    .auction-page *::before,
    .auction-page *::after {
        box-sizing: border-box;
    }


/* ===========================
   Header
=========================== */

.auction-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

    .auction-header h2 {
        margin: 0;
        font-size: 28px;
        font-weight: 800;
        color: #222;
    }

    .auction-header p {
        margin: 8px 0 0;
        font-size: 16px;
        color: #777;
    }


/* ===========================
   Register Button
=========================== */

.auction-register-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: #3cb371;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
}

    .auction-register-button:hover {
        background: #2e9b5f;
    }


/* ===========================
   Back Button
=========================== */

.auction-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
}

    .auction-back-btn:hover {
        background: #f5f5f5;
    }


/* ===========================
   Message
=========================== */

.auction-message {
    margin-bottom: 22px;
    padding: 15px 18px;
    border-radius: 9px;
    font-size: 16px;
    font-weight: 600;
}

    .auction-message.success {
        background: #ebf9f0;
        border: 1px solid #b9e7c8;
        color: #25814a;
    }

    .auction-message.error {
        background: #fff1f1;
        border: 1px solid #efc2c2;
        color: #c0392b;
    }


/* =========================================================
   Auction Index
   ========================================================= */


/* ===========================
   Filter
=========================== */

.auction-filter {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
}

    .auction-filter input,
    .auction-filter select {
        height: 44px;
        padding: 0 14px;
        border: 1px solid #ddd;
        border-radius: 8px;
        background: #fff;
        font-size: 16px;
        outline: none;
    }

    .auction-filter input {
        flex: 1;
    }

    .auction-filter select {
        min-width: 150px;
    }

        .auction-filter input:focus,
        .auction-filter select:focus {
            border-color: #3cb371;
        }


/* ===========================
   Empty
=========================== */

.auction-empty {
    padding: 70px 20px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
    text-align: center;
}

    .auction-empty h3 {
        margin: 0 0 10px;
        color: #333;
    }

    .auction-empty p {
        margin: 0;
        color: #888;
    }


/* ===========================
   Grid
=========================== */

.auction-grid {
    display: grid;
    grid-template-columns: repeat( auto-fill, minmax(270px, 1fr) );
    gap: 22px;
}


/* ===========================
   Auction Card
=========================== */

.auction-card {
    display: flex;
    flex-direction: column;
    padding: 22px;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

    .auction-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 7px 18px rgba(0, 0, 0, 0.08);
    }

.auction-card-top {
    display: flex;
    margin-bottom: 14px;
}


/* ===========================
   Status
=========================== */

.auction-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 27px;
    padding: 4px 10px;
    border-radius: 20px;
    background: #eee;
    color: #555;
    font-size: 14px;
    font-weight: 700;
}

    .auction-status.scheduled {
        background: #edf3ff;
        color: #4274c5;
    }

    .auction-status.active {
        background: #e9f8ee;
        color: #259454;
    }

    .auction-status.completed {
        background: #f0f0f0;
        color: #555;
    }

    .auction-status.cancelled {
        background: #fff0f0;
        color: #c84f4f;
    }


/* ===========================
   Game Label
=========================== */

.auction-game {
    display: inline-block;
    margin-bottom: 7px;
    color: #3cb371;
    font-size: 15px;
    font-weight: 700;
}

.auction-card h3 {
    margin: 0 0 20px;
    font-size: 19px;
    color: #222;
    line-height: 1.4;
}


/* ===========================
   Price
=========================== */

.auction-price-block {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 20px;
}

    .auction-price-block span {
        color: #888;
        font-size: 15px;
    }

    .auction-price-block strong {
        color: #222;
        font-size: 22px;
        font-weight: 800;
    }


/* ===========================
   Card Info
=========================== */

.auction-card-info {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

    .auction-card-info > div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .auction-card-info span {
        color: #888;
        font-size: 15px;
    }

    .auction-card-info strong {
        color: #444;
        font-size: 15px;
    }


/* ===========================
   Detail Button
=========================== */

.auction-detail-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    margin-top: 20px;
    border-radius: 8px;
    background: #f1f7f3;
    color: #2f8f58;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s;
}

    .auction-detail-btn:hover {
        background: #e2f2e7;
    }


/* =========================================================
   Auction Detail
   ========================================================= */


/* ===========================
   Detail Layout
=========================== */

.auction-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.8fr);
    gap: 24px;
    align-items: start;
}


/* ===========================
   Detail Card
=========================== */

.auction-detail-card,
.auction-bid-summary,
.bid-page-card {
    border: 1px solid #e8e8e8;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.045);
}

.auction-detail-card {
    padding: 28px;
}

.auction-detail-left {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 18px;
}

    .auction-detail-left .auction-bid-log {
        margin: 0;
    }

.auction-detail-status {
    margin-bottom: 20px;
}

.auction-item-title {
    margin: 3px 0 25px;
    font-size: 26px;
    font-weight: 800;
    color: #222;
}


/* ===========================
   Seller
=========================== */

.auction-seller {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid #eee;
}

    .auction-seller span {
        color: #888;
        font-size: 16px;
    }

    .auction-seller strong {
        color: #333;
        font-size: 16px;
    }


/* ===========================
   Description
=========================== */

.auction-description {
    margin-top: 26px;
}

    .auction-description h3 {
        margin: 0 0 12px;
        font-size: 18px;
        color: #333;
    }

    .auction-description p {
        margin: 0;
        line-height: 1.75;
        white-space: pre-line;
        color: #666;
        font-size: 16px;
    }


/* ===========================
   Bid Summary
=========================== */

.auction-bid-summary {
    padding: 24px;
}

.current-bid {
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
    margin-bottom: 7px;
    border-bottom: 1px solid #e8e8e8;
}

    .current-bid > span {
        margin-bottom: 6px;
        color: #777;
        font-size: 15px;
    }

    .current-bid strong {
        color: #222;
        font-size: 27px;
        font-weight: 800;
    }

    .current-bid small {
        margin-top: 5px;
        color: #999;
    }


/* ===========================
   Summary Row
=========================== */

.auction-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid #f0f0f0;
}

    .auction-summary-row span {
        color: #888;
        font-size: 15px;
    }

    .auction-summary-row strong {
        color: #333;
        font-size: 16px;
        text-align: right;
    }

    .auction-summary-row.final-price strong {
        color: #258c51;
        font-size: 18px;
    }


/* ===========================
   Bid Button
=========================== */

.auction-bid-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin-top: 20px;
    padding: 12px 18px;
    border: none;
    border-radius: 8px;
    background: #3cb371;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
}

    .auction-bid-btn:hover {
        background: #30995d;
    }

    .auction-bid-btn.disabled,
    .auction-bid-btn:disabled {
        background: #c8c8c8;
        color: #fff;
        cursor: not-allowed;
    }


/* ===========================
   Notice
=========================== */

.auction-notice {
    margin-top: 18px;
    padding: 15px;
    border-radius: 8px;
    background: #f7f7f7;
}

    .auction-notice strong {
        display: block;
        margin-bottom: 7px;
        font-size: 15px;
        color: #444;
    }

    .auction-notice p {
        margin: 5px 0 0;
        color: #777;
        font-size: 14px;
        line-height: 1.55;
    }


/* =========================================================
   Bid Page
   ========================================================= */


/* ===========================
   Bid Card
=========================== */

.bid-page-card {
    max-width: 760px;
    padding: 30px;
}


/* ===========================
   Item
=========================== */

.bid-item-info {
    padding-bottom: 22px;
    border-bottom: 1px solid #eee;
}

    .bid-item-info h2 {
        margin: 4px 0 11px;
        color: #222;
        font-size: 25px;
    }

    .bid-item-info p {
        margin: 0;
        color: #777;
        font-size: 16px;
    }

        .bid-item-info p strong {
            color: #333;
        }


/* ===========================
   Price Summary
=========================== */

.bid-price-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 24px 0;
}

    .bid-price-summary > div {
        padding: 18px;
        border-radius: 10px;
        background: #f7f8f8;
    }

    .bid-price-summary span {
        display: block;
        margin-bottom: 7px;
        color: #777;
        font-size: 15px;
    }

    .bid-price-summary strong {
        color: #222;
        font-size: 20px;
    }

    .bid-price-summary .minimum-bid {
        color: #299357;
    }


/* ===========================
   Bid Form
=========================== */

.bid-form-group {
    margin-top: 25px;
}

    .bid-form-group > label {
        display: block;
        margin-bottom: 9px;
        color: #333;
        font-size: 16px;
        font-weight: 700;
    }

.bid-input {
    display: flex;
    align-items: center;
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.2s;
}

    .bid-input:focus-within {
        border-color: #3cb371;
        box-shadow: 0 0 0 2px rgba(60, 179, 113, 0.1);
    }

    .bid-input input {
        flex: 1;
        height: 100%;
        padding: 0 15px;
        border: none;
        outline: none;
        font-size: 17px;
    }

    .bid-input > span {
        padding: 0 15px;
        color: #666;
        font-weight: 600;
    }

.bid-form-group small {
    display: block;
    margin-top: 8px;
    color: #888;
    font-size: 14px;
}


/* ===========================
   Deposit
=========================== */

.deposit-box {
    margin-top: 25px;
    padding: 20px;
    border: 1px solid #dcefe3;
    border-radius: 10px;
    background: #f4fbf6;
}

.deposit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

    .deposit-row span {
        color: #666;
        font-size: 16px;
    }

    .deposit-row strong {
        color: #288b52;
        font-size: 18px;
    }

.deposit-balance {
    margin-top: 13px;
    padding-top: 13px;
    border-top: 1px solid #d9eadf;
}

.deposit-box p {
    margin: 14px 0 0;
    color: #6d7d72;
    font-size: 14px;
    line-height: 1.6;
}

    .deposit-box p strong {
        color: #318456;
    }

.deposit-box .already-participant {
    color: #25814a;
    font-weight: 600;
}


/* ===========================
   Warning
=========================== */

.bid-warning {
    margin-top: 20px;
    padding: 18px;
    border-radius: 9px;
    background: #fff8eb;
}

    .bid-warning strong {
        display: block;
        margin-bottom: 7px;
        color: #9a6a20;
        font-size: 15px;
    }

    .bid-warning p {
        margin: 0;
        color: #7e6a49;
        font-size: 14px;
        line-height: 1.65;
    }


/* ===========================
   Bid Actions
=========================== */

.bid-actions {
    display: flex;
    gap: 12px;
    margin-top: 27px;
}

    .bid-actions .auction-back-btn,
    .bid-actions .auction-bid-btn {
        flex: 1;
        min-height: 48px;
        margin-top: 0;
    }

    .bid-actions .auction-back-btn {
        background: #f3f3f3;
    }


/* =========================================================
   Responsive
   ========================================================= */

@media screen and (max-width: 1200px) {

    .auction-detail-layout {
        grid-template-columns: 1fr;
    }

    .auction-bid-summary {
        max-width: none;
    }
}


@media screen and (max-width: 768px) {

    .auction-header {
        align-items: flex-start;
        flex-direction: column;
    }

        .auction-header .auction-back-btn {
            width: 100%;
        }


    .auction-filter {
        flex-direction: column;
    }

        .auction-filter select {
            width: 100%;
        }


    .auction-grid {
        grid-template-columns: 1fr;
    }


    .auction-detail-card,
    .auction-bid-summary,
    .bid-page-card {
        padding: 20px;
    }


    .bid-price-summary {
        grid-template-columns: 1fr;
    }


    .bid-actions {
        flex-direction: column;
    }
}

.auction-bid-log {
    margin: 18px 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
}

.auction-bid-log-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

    .auction-bid-log-header > div {
        display: flex;
        align-items: baseline;
        gap: 8px;
    }

    .auction-bid-log-header strong {
        color: #1e293b;
        font-size: 16px;
    }

    .auction-bid-log-header span {
        color: #64748b;
        font-size: 14px;
    }

.auction-bid-log-list {
    max-height: 240px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.auction-bid-log-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 66px;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
}

    .auction-bid-log-item:last-child {
        border-bottom: 0;
    }

    .auction-bid-log-item > div {
        display: flex;
        min-width: 0;
        flex-direction: column;
        gap: 4px;
    }

        .auction-bid-log-item > div > strong {
            overflow: hidden;
            color: #334155;
            font-size: 16px;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

    .auction-bid-log-item time {
        color: #94a3b8;
        font-size: 14px;
    }

.auction-bid-log-amount {
    flex: 0 0 auto;
    color: #16a34a;
    font-size: 16px;
}

.auction-bid-log-empty {
    padding: 34px 16px;
    color: #94a3b8;
    font-size: 15px;
    text-align: center;
}

/* =========================================================
   경매 이미지 / 보기 방식 / 남은 시간
   ========================================================= */
.auction-toolbar {
    align-items: center;
    flex-wrap: wrap;
}

    .auction-toolbar button {
        height: 44px;
        padding: 0 22px;
        border: 0;
        border-radius: 8px;
        background: #3cb371;
        color: #fff;
        font-weight: 700;
        cursor: pointer;
    }

.auction-card-image {
    width: calc(100% + 44px);
    height: 190px;
    margin: -22px -22px 18px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    background: #f1f5f9;
}

    .auction-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.auction-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.auction-countdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid #cfe6d7;
    border-radius: 9px;
    background: #f0faf4;
    color: #237a48;
}

    .auction-countdown span {
        font-size: 14px;
        font-weight: 700;
    }

    .auction-countdown strong {
        font-variant-numeric: tabular-nums;
        font-size: 16px;
    }

    .auction-countdown.is-urgent {
        border-color: #f2b8b5;
        background: #fff2f1;
        color: #c0392b;
    }

    .auction-countdown.is-ended {
        border-color: #dde2e8;
        background: #f4f5f6;
        color: #667085;
    }

.auction-grid.view-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

    .auction-grid.view-list .auction-card {
        display: grid;
        grid-template-columns: 220px minmax(0, 1fr);
        padding: 0;
        overflow: hidden;
    }

    .auction-grid.view-list .auction-card-image {
        width: 100%;
        height: 100%;
        min-height: 260px;
        margin: 0;
        border-radius: 0;
    }

    .auction-grid.view-list .auction-card-body {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(210px, .55fr);
        gap: 8px 24px;
        padding: 20px 22px;
    }

    .auction-grid.view-list .auction-card-info,
    .auction-grid.view-list .auction-countdown,
    .auction-grid.view-list .auction-detail-btn {
        grid-column: 2;
    }

    .auction-grid.view-list .auction-card-top,
    .auction-grid.view-list .auction-game,
    .auction-grid.view-list h3,
    .auction-grid.view-list .auction-price-block {
        grid-column: 1;
    }

    .auction-grid.view-list .auction-countdown {
        grid-row: 1;
        margin: 0;
    }

    .auction-grid.view-list .auction-card-info {
        grid-row: 2 / span 3;
    }

    .auction-grid.view-list .auction-detail-btn {
        align-self: end;
    }

.auction-detail-image {
    width: 100%;
    max-height: 420px;
    margin: 15px 0 22px;
    overflow: hidden;
    border-radius: 12px;
    background: #f1f5f9;
}

    .auction-detail-image img {
        width: 100%;
        max-height: 420px;
        display: block;
        object-fit: cover;
    }

.auction-countdown-detail {
    margin: 0 0 15px;
    padding: 16px;
}

@media (max-width: 820px) {
    .auction-grid.view-list .auction-card,
    .auction-grid.view-list .auction-card-body {
        grid-template-columns: 1fr;
    }

    .auction-grid.view-list .auction-card-image {
        min-height: 190px;
    }

    .auction-grid.view-list .auction-card-body > * {
        grid-column: 1;
        grid-row: auto;
    }
}


/* =========================================================
   DESIGN SYNC - collaborator branch (2026-09-12)
   Base functional styles above are intentionally retained.
   ========================================================= */
﻿ /* =========================================================
   SafeGG Auction
   ========================================================= */
/* ===========================
   Common
=========================== */
.auction-page {
    width: 100%;
    box-sizing: border-box;
}

.auction-page *,
.auction-page *::before,
.auction-page *::after {
    box-sizing: border-box;
}


/* ===========================
   Header
=========================== */

.auction-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

    .auction-header h2 {
        margin: 0;
        font-size: 28px;
        font-weight: 800;
        color: #222;
    }

    .auction-header p {
        margin: 8px 0 0;
        font-size: 16px;
        color: #777;
    }


/* ===========================
   Register Button
=========================== */

.auction-register-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: #3cb371;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
}

    .auction-register-button:hover {
        background: #2e9b5f;
    }


/* ===========================
   Back Button
=========================== */

.auction-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
}

    .auction-back-btn:hover {
        background: #f5f5f5;
    }


/* ===========================
   Message
=========================== */

.auction-message {
    margin-bottom: 22px;
    padding: 15px 18px;
    border-radius: 9px;
    font-size: 16px;
    font-weight: 600;
}

    .auction-message.success {
        background: #ebf9f0;
        border: 1px solid #b9e7c8;
        color: #25814a;
    }

    .auction-message.error {
        background: #fff1f1;
        border: 1px solid #efc2c2;
        color: #c0392b;
    }


/* =========================================================
   Auction Index
   ========================================================= */


/* ===========================
   Filter
=========================== */

.auction-filter {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
}

    .auction-filter input,
    .auction-filter select {
        height: 44px;
        padding: 0 14px;
        border: 1px solid #ddd;
        border-radius: 8px;
        background: #fff;
        font-size: 16px;
        outline: none;
    }

    .auction-filter input {
        flex: 1;
    }

    .auction-filter select {
        min-width: 150px;
    }

        .auction-filter input:focus,
        .auction-filter select:focus {
            border-color: #3cb371;
        }


/* ===========================
   Empty
=========================== */

.auction-empty {
    padding: 70px 20px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
    text-align: center;
}

    .auction-empty h3 {
        margin: 0 0 10px;
        color: #333;
    }

    .auction-empty p {
        margin: 0;
        color: #888;
    }


/* ===========================
   Grid
=========================== */

.auction-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.auction-card {
    max-width: 260px;
    width: 100%;
    justify-self: center;
}

.auction-grid.view-list {
    grid-template-columns: 1fr;
}

@media (max-width: 1200px) {
    .auction-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .auction-grid {
        grid-template-columns: 1fr;
    }
}


/* ===========================
   Auction Card
=========================== */

.auction-card {
    display: flex;
    flex-direction: column;
    padding: 14px;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

    .auction-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 7px 18px rgba(0, 0, 0, 0.08);
    }

.auction-card-img {
    width: calc(100% + 28px);
    height: 120px;
    margin: -14px -14px 10px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

/* 리스트 보기: 이미지 왼쪽 + 정보 오른쪽으로 눕혀서 (컴팩트, Items 리스트형과 통일) */
.auction-grid.view-list .auction-card {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    max-width: none;
    justify-self: stretch;
    padding: 10px 14px;
}

    .auction-grid.view-list .auction-card:hover {
        transform: none;
    }

.auction-grid.view-list .auction-card-img {
    width: 140px;
    height: 140px;
    flex: 0 0 140px;
    margin: 0;
    border-radius: 8px;
}

.auction-grid.view-list .auction-card-info-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auction-grid.view-list .auction-card-top {
    margin-bottom: 4px;
}

.auction-grid.view-list .auction-game {
    margin-bottom: 2px;
    font-size: 14px;
}

.auction-grid.view-list .auction-card h3 {
    margin: 2px 0;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.auction-grid.view-list .auction-price-block {
    flex-direction: row;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
}

    .auction-grid.view-list .auction-price-block strong {
        font-size: 17px;
    }

/* 최소 입찰단위 / 마감시간 상세 정보는 리스트형에서는 생략 (한 줄 컴팩트 유지) */
.auction-grid.view-list .auction-card-info {
    display: none;
}

.auction-grid.view-list .auction-detail-btn {
    flex: 0 0 auto;
    align-self: flex-start;
    margin-top: 4px;
    padding: 6px 16px;
    font-size: 15px;
}

@media (max-width: 560px) {
    .auction-grid.view-list .auction-card {
        flex-direction: column;
        align-items: stretch;
    }

    .auction-grid.view-list .auction-card-img {
        width: 100%;
        height: 120px;
    }
}

.auction-card-top {
    display: flex;
    margin-bottom: 14px;
}


/* ===========================
   Status
=========================== */

.auction-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 27px;
    padding: 4px 10px;
    border-radius: 20px;
    background: #eee;
    color: #555;
    font-size: 14px;
    font-weight: 700;
}

    .auction-status.scheduled {
        background: #edf3ff;
        color: #4274c5;
    }

    .auction-status.active {
        background: #e9f8ee;
        color: #259454;
    }

    .auction-status.completed {
        background: #f0f0f0;
        color: #555;
    }

    .auction-status.cancelled {
        background: #fff0f0;
        color: #c84f4f;
    }


/* ===========================
   Game Label
=========================== */

.auction-game {
    display: inline-block;
    margin-bottom: 7px;
    color: #3cb371;
    font-size: 15px;
    font-weight: 700;
}

.auction-card h3 {
    margin: 0 0 10px;
    font-size: 17px;
    color: #222;
    line-height: 1.4;
}


/* ===========================
   Price
=========================== */

.auction-price-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

    .auction-price-block span {
        color: #888;
        font-size: 14px;
    }

    .auction-price-block strong {
        color: #222;
        font-size: 19px;
        font-weight: 800;
    }


/* ===========================
   Card Info
=========================== */

.auction-card-info {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

    .auction-card-info > div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .auction-card-info span {
        color: #888;
        font-size: 15px;
    }

    .auction-card-info strong {
        color: #444;
        font-size: 15px;
    }


/* ===========================
   Detail Button
=========================== */

.auction-detail-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    margin-top: 20px;
    border-radius: 8px;
    background: #f1f7f3;
    color: #2f8f58;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s;
}

    .auction-detail-btn:hover {
        background: #e2f2e7;
    }


/* =========================================================
   Auction Detail
   ========================================================= */


/* ===========================
   Detail Layout
=========================== */

.auction-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.8fr);
    gap: 24px;
    align-items: start;
}


/* ===========================
   Detail Card
=========================== */

.auction-detail-card,
.auction-bid-summary,
.bid-page-card {
    border: 1px solid #e8e8e8;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.045);
}

.auction-detail-card {
    padding: 28px;
}

.auction-detail-left {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 18px;
}

    .auction-detail-left .auction-bid-log {
        margin: 0;
    }

.auction-detail-status {
    margin-bottom: 20px;
}

.auction-item-title {
    margin: 3px 0 25px;
    font-size: 26px;
    font-weight: 800;
    color: #222;
}


/* ===========================
   Seller
=========================== */

.auction-seller {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid #eee;
}

    .auction-seller span {
        color: #888;
        font-size: 16px;
    }

    .auction-seller strong {
        color: #333;
        font-size: 16px;
    }


/* ===========================
   Description
=========================== */

.auction-description {
    margin-top: 26px;
}

    .auction-description h3 {
        margin: 0 0 12px;
        font-size: 18px;
        color: #333;
    }

    .auction-description p {
        margin: 0;
        line-height: 1.75;
        white-space: pre-line;
        color: #666;
        font-size: 16px;
    }


/* ===========================
   Bid Summary
=========================== */

.auction-bid-summary {
    padding: 24px;
}

.current-bid {
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
    margin-bottom: 7px;
    border-bottom: 1px solid #e8e8e8;
}

    .current-bid > span {
        margin-bottom: 6px;
        color: #777;
        font-size: 15px;
    }

    .current-bid strong {
        color: #222;
        font-size: 27px;
        font-weight: 800;
    }

    .current-bid small {
        margin-top: 5px;
        color: #999;
    }


/* ===========================
   Summary Row
=========================== */

.auction-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid #f0f0f0;
}

    .auction-summary-row span {
        color: #888;
        font-size: 15px;
    }

    .auction-summary-row strong {
        color: #333;
        font-size: 16px;
        text-align: right;
    }

    .auction-summary-row.final-price strong {
        color: #258c51;
        font-size: 18px;
    }


/* ===========================
   Bid Button
=========================== */

.auction-bid-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin-top: 20px;
    padding: 12px 18px;
    border: none;
    border-radius: 8px;
    background: #3cb371;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
}

    .auction-bid-btn:hover {
        background: #30995d;
    }

    .auction-bid-btn.disabled,
    .auction-bid-btn:disabled {
        background: #c8c8c8;
        color: #fff;
        cursor: not-allowed;
    }


/* ===========================
   Notice
=========================== */

.auction-notice {
    margin-top: 18px;
    padding: 15px;
    border-radius: 8px;
    background: #f7f7f7;
}

    .auction-notice strong {
        display: block;
        margin-bottom: 7px;
        font-size: 15px;
        color: #444;
    }

    .auction-notice p {
        margin: 5px 0 0;
        color: #777;
        font-size: 14px;
        line-height: 1.55;
    }


/* =========================================================
   Bid Page
   ========================================================= */


/* ===========================
   Bid Card
=========================== */

.bid-page-card {
    max-width: 760px;
    padding: 30px;
}


/* ===========================
   Item
=========================== */

.bid-item-info {
    padding-bottom: 22px;
    border-bottom: 1px solid #eee;
}

    .bid-item-info h2 {
        margin: 4px 0 11px;
        color: #222;
        font-size: 25px;
    }

    .bid-item-info p {
        margin: 0;
        color: #777;
        font-size: 16px;
    }

        .bid-item-info p strong {
            color: #333;
        }


/* ===========================
   Price Summary
=========================== */

.bid-price-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 24px 0;
}

    .bid-price-summary > div {
        padding: 18px;
        border-radius: 10px;
        background: #f7f8f8;
    }

    .bid-price-summary span {
        display: block;
        margin-bottom: 7px;
        color: #777;
        font-size: 15px;
    }

    .bid-price-summary strong {
        color: #222;
        font-size: 20px;
    }

    .bid-price-summary .minimum-bid {
        color: #299357;
    }


/* ===========================
   Bid Form
=========================== */

.bid-form-group {
    margin-top: 25px;
}

    .bid-form-group > label {
        display: block;
        margin-bottom: 9px;
        color: #333;
        font-size: 16px;
        font-weight: 700;
    }

.bid-input {
    display: flex;
    align-items: center;
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.2s;
}

    .bid-input:focus-within {
        border-color: #3cb371;
        box-shadow: 0 0 0 2px rgba(60, 179, 113, 0.1);
    }

    .bid-input input {
        flex: 1;
        height: 100%;
        padding: 0 15px;
        border: none;
        outline: none;
        font-size: 17px;
    }

    .bid-input > span {
        padding: 0 15px;
        color: #666;
        font-weight: 600;
    }

.bid-form-group small {
    display: block;
    margin-top: 8px;
    color: #888;
    font-size: 14px;
}


/* ===========================
   Deposit
=========================== */

.deposit-box {
    margin-top: 25px;
    padding: 20px;
    border: 1px solid #dcefe3;
    border-radius: 10px;
    background: #f4fbf6;
}

.deposit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

    .deposit-row span {
        color: #666;
        font-size: 16px;
    }

    .deposit-row strong {
        color: #288b52;
        font-size: 18px;
    }

.deposit-balance {
    margin-top: 13px;
    padding-top: 13px;
    border-top: 1px solid #d9eadf;
}

.deposit-box p {
    margin: 14px 0 0;
    color: #6d7d72;
    font-size: 14px;
    line-height: 1.6;
}

    .deposit-box p strong {
        color: #318456;
    }

.deposit-box .already-participant {
    color: #25814a;
    font-weight: 600;
}


/* ===========================
   Warning
=========================== */

.bid-warning {
    margin-top: 20px;
    padding: 18px;
    border-radius: 9px;
    background: #fff8eb;
}

    .bid-warning strong {
        display: block;
        margin-bottom: 7px;
        color: #9a6a20;
        font-size: 15px;
    }

    .bid-warning p {
        margin: 0;
        color: #7e6a49;
        font-size: 14px;
        line-height: 1.65;
    }


/* ===========================
   Bid Actions
=========================== */

.bid-actions {
    display: flex;
    gap: 12px;
    margin-top: 27px;
}

    .bid-actions .auction-back-btn,
    .bid-actions .auction-bid-btn {
        flex: 1;
        min-height: 48px;
        margin-top: 0;
    }

    .bid-actions .auction-back-btn {
        background: #f3f3f3;
    }


/* =========================================================
   Responsive
   ========================================================= */

@media screen and (max-width: 1200px) {

    .auction-detail-layout {
        grid-template-columns: 1fr;
    }

    .auction-bid-summary {
        max-width: none;
    }
}


@media screen and (max-width: 768px) {

    .auction-header {
        align-items: flex-start;
        flex-direction: column;
    }

        .auction-header .auction-back-btn {
            width: 100%;
        }


    .auction-filter {
        flex-direction: column;
    }

        .auction-filter select {
            width: 100%;
        }


    .auction-grid {
        grid-template-columns: 1fr;
    }


    .auction-detail-card,
    .auction-bid-summary,
    .bid-page-card {
        padding: 20px;
    }


    .bid-price-summary {
        grid-template-columns: 1fr;
    }


    .bid-actions {
        flex-direction: column;
    }
}

.auction-bid-log {
    margin: 18px 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
}

.auction-bid-log-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

    .auction-bid-log-header > div {
        display: flex;
        align-items: baseline;
        gap: 8px;
    }

    .auction-bid-log-header strong {
        color: #1e293b;
        font-size: 16px;
    }

    .auction-bid-log-header span {
        color: #64748b;
        font-size: 14px;
    }

.auction-bid-log-list {
    max-height: 240px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.auction-bid-log-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 66px;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
}

    .auction-bid-log-item:last-child {
        border-bottom: 0;
    }

    .auction-bid-log-item > div {
        display: flex;
        min-width: 0;
        flex-direction: column;
        gap: 4px;
    }

        .auction-bid-log-item > div > strong {
            overflow: hidden;
            color: #334155;
            font-size: 16px;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

    .auction-bid-log-item time {
        color: #94a3b8;
        font-size: 14px;
    }

.auction-bid-log-amount {
    flex: 0 0 auto;
    color: #16a34a;
    font-size: 16px;
}

.auction-bid-log-empty {
    padding: 34px 16px;
    color: #94a3b8;
    font-size: 15px;
    text-align: center;
}

/* ===========================
   보기 방식 전환 버튼 (그리드/리스트)
=========================== */
.view-toggle {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin: -6px 0 14px;
}

    .view-toggle button {
        width: 32px;
        height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #ddd;
        border-radius: 8px;
        background: #fff;
        color: #667085;
        font-size: 17px;
        cursor: pointer;
    }

        .view-toggle button.active {
            background: #172033;
            border-color: #172033;
            color: #fff;
        }

.theme-wuxia .view-toggle button {
    border-color: var(--wx-line);
    background: var(--wx-paper-card);
    color: var(--wx-muted);
}

    .theme-wuxia .view-toggle button.active {
        background: var(--wx-red);
        border-color: var(--wx-red-dark);
        color: #fff;
    }


/* ===========================
   페이지네이션
=========================== */
.paging {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

    .paging button {
        padding: 8px 15px;
        border: 1px solid #ddd;
        border-radius: 6px;
        background: #fff;
        color: #333;
        cursor: pointer;
    }

        .paging button.active {
            background: #172033;
            border-color: #172033;
            color: #fff;
        }

.theme-wuxia .paging button {
    border-color: var(--wx-line);
    background: var(--wx-paper-card);
    color: var(--wx-muted);
}

    .theme-wuxia .paging button.active {
        background: var(--wx-red);
        border-color: var(--wx-red-dark);
        color: #fff;
    }

/* ==========================================================
   2026-09-13 카드형 컴팩트 5열 레이아웃
   - 목록형(view-list)은 기존 디자인 유지
   ========================================================== */
.auction-grid.view-card {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

    .auction-grid.view-card .auction-card {
        width: 100%;
        max-width: none;
        min-width: 0;
        justify-self: stretch;
        padding: 10px;
        border-radius: 10px;
    }

    .auction-grid.view-card .auction-card-image {
        width: calc(100% + 20px);
        height: 120px;
        margin: -10px -10px 9px;
        border-radius: 10px 10px 0 0;
    }

    .auction-grid.view-card .auction-card-top {
        margin-bottom: 6px;
    }

    .auction-grid.view-card .auction-status {
        min-height: 22px;
        padding: 3px 7px;
        font-size: 14px;
    }

    .auction-grid.view-card .auction-game {
        margin-bottom: 3px;
        font-size: 14px;
    }

    .auction-grid.view-card .auction-card h3 {
        margin: 0 0 6px;
        font-size: 16px;
        line-height: 1.35;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .auction-grid.view-card .auction-price-block {
        gap: 2px;
        margin-bottom: 7px;
    }

        .auction-grid.view-card .auction-price-block span {
            font-size: 14px;
        }

        .auction-grid.view-card .auction-price-block strong {
            font-size: 17px;
        }

    .auction-grid.view-card .auction-countdown {
        gap: 6px;
        margin: 0 0 8px;
        padding: 7px 8px;
        border-radius: 7px;
    }

        .auction-grid.view-card .auction-countdown span {
            font-size: 14px;
        }

        .auction-grid.view-card .auction-countdown strong {
            font-size: 14px;
        }

    .auction-grid.view-card .auction-card-info {
        gap: 5px;
        padding-top: 8px;
    }

        .auction-grid.view-card .auction-card-info > div {
            gap: 5px;
        }

        .auction-grid.view-card .auction-card-info span,
        .auction-grid.view-card .auction-card-info strong {
            font-size: 14px;
        }

        .auction-grid.view-card .auction-card-info strong {
            max-width: 58%;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            text-align: right;
        }

    .auction-grid.view-card .auction-detail-btn {
        min-height: 34px;
        margin-top: 9px;
        border-radius: 7px;
        font-size: 14px;
    }

/* 화면이 좁아질 때만 열 수를 단계적으로 줄임 */
@media (max-width: 1350px) {
    .auction-grid.view-card {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1050px) {
    .auction-grid.view-card {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .auction-grid.view-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .auction-grid.view-card {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   2026-09-13 디자인 작업본 경매 목록 스타일 호환 동기화
   - 현재 프로젝트의 auction-card-image / auction-card-body 구조에 맞춤
   - 카드형 5열 규칙은 그대로 유지
   ========================================================== */
.auction-grid.view-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

    .auction-grid.view-list .auction-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 14px;
        width: 100%;
        max-width: none;
        min-height: 0;
        justify-self: stretch;
        padding: 10px 14px;
        overflow: hidden;
    }

        .auction-grid.view-list .auction-card:hover {
            transform: none;
        }

    .auction-grid.view-list .auction-card-image {
        width: 140px;
        height: 140px;
        min-height: 0;
        flex: 0 0 140px;
        margin: 0;
        overflow: hidden;
        border-radius: 8px;
    }

        .auction-grid.view-list .auction-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 8px;
        }

    .auction-grid.view-list .auction-card-body {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0;
    }

    .auction-grid.view-list .auction-card-top {
        margin-bottom: 4px;
    }

    .auction-grid.view-list .auction-game {
        margin-bottom: 2px;
        font-size: 14px;
    }

    .auction-grid.view-list .auction-card h3 {
        margin: 2px 0;
        font-size: 16px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .auction-grid.view-list .auction-price-block {
        flex-direction: row;
        align-items: baseline;
        gap: 6px;
        margin-bottom: 4px;
    }

        .auction-grid.view-list .auction-price-block strong {
            font-size: 17px;
        }

    /* 디자인 작업본처럼 리스트에서는 핵심 정보 위주로 컴팩트하게 표시 */
    .auction-grid.view-list .auction-countdown {
        width: fit-content;
        min-width: 180px;
        margin: 4px 0 0;
        padding: 6px 9px;
    }

    .auction-grid.view-list .auction-card-info {
        display: none;
    }

    .auction-grid.view-list .auction-detail-btn {
        flex: 0 0 auto;
        align-self: flex-start;
        min-height: 0;
        margin-top: 6px;
        padding: 6px 16px;
        font-size: 15px;
    }

@media (max-width: 560px) {
    .auction-grid.view-list .auction-card {
        flex-direction: column;
        align-items: stretch;
    }

    .auction-grid.view-list .auction-card-image {
        width: 100%;
        height: 120px;
        flex-basis: 120px;
    }
}

/* ==========================================================
   2026-09-13 최신 무협풍 테마 우선 적용
   - 기존 기능/5열/리스트 레이아웃 유지
   - 예전 초록 계열 버튼/카드보다 theme-wuxia를 우선
   ========================================================== */
.theme-wuxia .auction-page {
    color: var(--wx-text);
}

.theme-wuxia .auction-header h2,
.theme-wuxia .auction-item-title,
.theme-wuxia .bid-page-card h3,
.theme-wuxia .auction-bid-summary h3 {
    color: var(--wx-text) !important;
    font-family: "Noto Serif KR", serif;
}

.theme-wuxia .auction-header p {
    color: var(--wx-muted) !important;
}

.theme-wuxia .auction-register-button,
.theme-wuxia .auction-detail-btn,
.theme-wuxia .auction-bid-btn {
    border: 1px solid var(--wx-gold) !important;
    border-radius: 5px !important;
    background: linear-gradient(180deg, var(--wx-red), var(--wx-red-dark)) !important;
    color: #fff !important;
    box-shadow: none !important;
    font-family: "Noto Serif KR", serif;
}

    .theme-wuxia .auction-register-button:hover,
    .theme-wuxia .auction-detail-btn:hover,
    .theme-wuxia .auction-bid-btn:hover:not(.disabled) {
        background: var(--wx-red-dark) !important;
        border-color: var(--wx-gold-light) !important;
        filter: none !important;
        transform: none !important;
    }

.theme-wuxia .auction-filter,
.theme-wuxia .auction-detail-card,
.theme-wuxia .auction-bid-summary,
.theme-wuxia .auction-description,
.theme-wuxia .auction-seller,
.theme-wuxia .auction-owner-box,
.theme-wuxia .auction-notice,
.theme-wuxia .auction-result-box,
.theme-wuxia .bid-page-card,
.theme-wuxia .deposit-box,
.theme-wuxia .auction-bid-log {
    border-color: var(--wx-line) !important;
    border-radius: 7px !important;
    background: var(--wx-paper-card) !important;
    box-shadow: 0 8px 22px rgba(80, 20, 32, .07) !important;
}

    .theme-wuxia .auction-filter input,
    .theme-wuxia .auction-filter select,
    .theme-wuxia .bid-input,
    .theme-wuxia .bid-form-group input {
        border-color: var(--wx-line) !important;
        background: #fffdfd !important;
        color: var(--wx-text) !important;
    }

        .theme-wuxia .auction-filter input:focus,
        .theme-wuxia .auction-filter select:focus,
        .theme-wuxia .bid-input:focus,
        .theme-wuxia .bid-form-group input:focus {
            border-color: var(--wx-red) !important;
            box-shadow: 0 0 0 3px rgba(179, 34, 58, .10) !important;
            outline: none;
        }

.theme-wuxia .auction-card {
    border: 1px solid var(--wx-line) !important;
    border-radius: 7px !important;
    background: var(--wx-paper-card) !important;
    box-shadow: 0 7px 18px rgba(80, 20, 32, .07) !important;
}

    .theme-wuxia .auction-card:hover {
        border-color: var(--wx-gold) !important;
        box-shadow: 0 10px 24px rgba(80, 20, 32, .11) !important;
    }

    .theme-wuxia .auction-card h3,
    .theme-wuxia .auction-card-info,
    .theme-wuxia .auction-card-body {
        color: var(--wx-text) !important;
    }

.theme-wuxia .auction-game {
    color: var(--wx-red-dark) !important;
}

.theme-wuxia .auction-price-block strong,
.theme-wuxia .current-bid,
.theme-wuxia .minimum-bid,
.theme-wuxia .auction-summary-row.final-price strong,
.theme-wuxia .auction-bid-log-amount {
    color: var(--wx-red-dark) !important;
}

.theme-wuxia .auction-back-btn {
    border: 1px solid var(--wx-line) !important;
    border-radius: 5px !important;
    background: #fffafa !important;
    color: var(--wx-text) !important;
}

    .theme-wuxia .auction-back-btn:hover {
        border-color: var(--wx-gold) !important;
        background: #f9e8eb !important;
    }

.theme-wuxia .auction-bid-log-header {
    border-color: var(--wx-line) !important;
    background: #f9e8eb !important;
}

    .theme-wuxia .auction-bid-log-header strong,
    .theme-wuxia .auction-bid-log-item > div > strong {
        color: var(--wx-text) !important;
    }

    .theme-wuxia .auction-bid-log-header span,
    .theme-wuxia .auction-bid-log-item time,
    .theme-wuxia .deposit-row,
    .theme-wuxia .bid-warning {
        color: var(--wx-muted) !important;
    }

.theme-wuxia .auction-bid-log-item {
    border-color: var(--wx-line) !important;
}

.theme-wuxia .paging button {
    border-color: var(--wx-line) !important;
    background: var(--wx-paper-card) !important;
    color: var(--wx-muted) !important;
}

    .theme-wuxia .paging button.active,
    .theme-wuxia .paging button:hover:not(:disabled) {
        border-color: var(--wx-red-dark) !important;
        background: var(--wx-red) !important;
        color: #fff !important;
    }

/* ==========================================================
   2026-09-14 반응형 이미지 자동 맞춤
   - 경매 카드 폭/브라우저 배율 변화에 맞춰 이미지 크기 자동 조정
   - cover 크롭 제거, 전체 이미지를 contain 방식으로 표시
   ========================================================== */
.auction-card-image,
.auction-grid.view-card .auction-card-image {
    height: auto !important;
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    overflow: hidden;
    box-sizing: border-box;
    background: #f5f2ee;
}

    .auction-card-image img,
    .auction-grid.view-card .auction-card-image img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        display: block;
        object-fit: contain !important;
        object-position: center;
    }

.auction-grid.view-list .auction-card-image {
    width: clamp(96px, 11vw, 140px);
    height: auto !important;
    aspect-ratio: 1 / 1;
    flex: 0 0 clamp(96px, 11vw, 140px);
    margin: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #f5f2ee;
}

    .auction-grid.view-list .auction-card-image img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain !important;
        object-position: center;
    }

.auction-detail-image {
    width: 100%;
    max-height: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    background: #f5f2ee;
}

    .auction-detail-image img {
        width: auto !important;
        height: auto !important;
        max-width: 100% !important;
        max-height: min(62vh, 560px) !important;
        display: block;
        object-fit: contain !important;
        object-position: center;
    }

@media (max-width: 760px) {
    .auction-grid.view-card .auction-card-image {
        aspect-ratio: 16 / 11;
    }
}

@media (max-width: 560px) {
    .auction-grid.view-list .auction-card-image {
        width: 100%;
        height: auto !important;
        aspect-ratio: 16 / 9;
        flex-basis: auto;
    }
}

/* ==========================================================
   경매 화면 정리 (목록 / 상세) - 아이템 마켓과 같은 톤
   ========================================================== */
body.safegg-body .auction-page {
    max-width: none;
    width: 100%;
    color: var(--wx-text);
}

body.safegg-body .auction-header {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-bottom: 16px;
}

    body.safegg-body .auction-header > div:first-child {
        flex: 1 1 220px;
        min-width: 0;
        text-align: left;
    }

    body.safegg-body .auction-header h2 {
        margin: 0 0 4px;
        font-family: "Noto Serif KR", serif;
        font-size: 30px;
        font-weight: 900;
        color: var(--wx-ink);
    }

    body.safegg-body .auction-header p {
        margin: 0;
        color: var(--wx-muted);
        font-size: 15px;
    }

body.safegg-body .auction-register-button,
body.safegg-body .auction-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid var(--wx-gold);
    border-radius: 8px;
    background: linear-gradient(180deg, var(--wx-red), var(--wx-red-dark));
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

body.safegg-body .auction-back-btn {
    background: #fff;
    color: var(--wx-red-dark);
}

body.safegg-body .auction-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px 150px auto;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    padding: 14px;
    border: 1px solid var(--wx-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(122, 22, 38, .06);
}

    body.safegg-body .auction-toolbar input[type="search"],
    body.safegg-body .auction-toolbar select {
        width: 100%;
        min-width: 0;
        height: 46px;
        margin: 0;
        padding: 0 14px;
        border: 1px solid var(--wx-line);
        border-radius: 10px;
        background-color: #fff;
        color: var(--wx-text);
        font-size: 16px;
    }

    body.safegg-body .auction-toolbar button[type="submit"] {
        height: 46px;
        padding: 0 26px;
        border: 1px solid var(--wx-gold);
        border-radius: 10px;
        background: linear-gradient(180deg, var(--wx-red), var(--wx-red-dark));
        color: #fff;
        font-size: 16px;
        font-weight: 800;
    }

body.safegg-body .auction-page .view-toggle {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin: 0 0 12px;
}

body.safegg-body .auction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    align-items: stretch;
}

body.safegg-body .auction-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--wx-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(122, 22, 38, .07);
    transition: transform .15s ease, box-shadow .15s ease;
}

    body.safegg-body .auction-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 24px rgba(122, 22, 38, .16);
    }

body.safegg-body .auction-card-image {
    display: grid;
    place-items: center;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(160deg, #fdeff1, #f6dfe3);
}

    body.safegg-body .auction-card-image img {
        width: auto;
        height: auto;
        max-width: 64%;
        max-height: 64%;
        object-fit: contain;
    }

body.safegg-body .auction-card-image,
body.safegg-body .auction-detail-image {
    position: relative;
}

body.safegg-body .auction-card:has(.auction-status.completed) .auction-card-image img,
body.safegg-body .auction-card:has(.auction-status.cancelled) .auction-card-image img,
body.safegg-body .auction-detail-card:has(.auction-status.completed) .auction-detail-image img,
body.safegg-body .auction-detail-card:has(.auction-status.cancelled) .auction-detail-image img {
    filter: grayscale(.9);
    opacity: .55;
}

body.safegg-body .auction-card:has(.auction-status.completed) .auction-card-image::after,
body.safegg-body .auction-card:has(.auction-status.cancelled) .auction-card-image::after,
body.safegg-body .auction-detail-card:has(.auction-status.completed) .auction-detail-image::after,
body.safegg-body .auction-detail-card:has(.auction-status.cancelled) .auction-detail-image::after {
    content: "경매 완료";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    z-index: 1;
    padding: 10px 0;
    border-top: 2px solid var(--wx-gold);
    border-bottom: 2px solid var(--wx-gold);
    background: rgba(42, 15, 22, .86);
    color: var(--wx-gold-light);
    font-family: "Noto Serif KR", serif;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 6px;
    text-align: center;
    transform: translateY(-50%);
    pointer-events: none;
}

body.safegg-body .auction-card:has(.auction-status.cancelled) .auction-card-image::after,
body.safegg-body .auction-detail-card:has(.auction-status.cancelled) .auction-detail-image::after {
    content: "경매 종료";
}

body.safegg-body .auction-detail-image::after {
    font-size: 28px;
}

body.safegg-body .auction-card-top {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    margin: 0;
    padding: 0;
}

body.safegg-body .auction-page .auction-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border: 0;
    border-radius: 999px;
    background: #6b7280;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}

    body.safegg-body .auction-page .auction-status.active {
        background: linear-gradient(180deg, var(--wx-red), var(--wx-red-dark));
    }

        body.safegg-body .auction-page .auction-status.active::before {
            content: "";
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #fff;
        }

    body.safegg-body .auction-page .auction-status.scheduled {
        background: linear-gradient(180deg, #e2b04a, #b98524);
        color: #3b2604;
    }

body.safegg-body .auction-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px 16px;
}

body.safegg-body .auction-card .auction-game {
    display: block;
    color: var(--wx-red);
    font-size: 14px;
    font-weight: 800;
}

body.safegg-body .auction-card h3 {
    margin: 0;
    overflow: hidden;
    color: var(--wx-ink);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.safegg-body .auction-price-block {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin: 2px 0 0;
    padding: 0;
    border: 0;
    background: none;
}

    body.safegg-body .auction-price-block span {
        color: var(--wx-muted);
        font-size: 14px;
        font-weight: 700;
    }

    body.safegg-body .auction-price-block strong {
        color: var(--wx-red-dark);
        font-size: 24px;
        font-weight: 900;
        font-variant-numeric: tabular-nums;
    }

body.safegg-body .auction-card .auction-countdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 4px 0 2px;
    padding: 9px 12px;
    border: 1px solid #ecd9ad;
    border-radius: 10px;
    background: #fff8e6;
    color: #7a5311;
}

    body.safegg-body .auction-card .auction-countdown span {
        font-size: 14px;
        font-weight: 700;
    }

    body.safegg-body .auction-card .auction-countdown strong {
        font-size: 16px;
        font-weight: 900;
        font-variant-numeric: tabular-nums;
    }

    body.safegg-body .auction-card .auction-countdown.is-urgent {
        border-color: #f0b6bc;
        background: #fff0f1;
        color: #b3202e;
    }

    body.safegg-body .auction-card .auction-countdown.is-ended {
        border-color: #e0e0e4;
        background: #f3f3f5;
        color: #6b7280;
    }

body.safegg-body .auction-card-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    margin: 2px 0 8px;
    padding: 10px 0 0;
    border-top: 1px dashed var(--wx-line);
}

    body.safegg-body .auction-card-info > div {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1px;
        text-align: left;
        min-width: 0;
        padding: 0;
        border: 0;
    }

    body.safegg-body .auction-card-info span {
        color: var(--wx-muted);
        font-size: 13px;
    }

body.safegg-body .auction-grid .auction-card .auction-card-info strong {
    max-width: none;
    width: auto;
    overflow: visible;
    color: var(--wx-text);
    font-size: 14px;
    font-weight: 800;
    text-overflow: clip;
    white-space: nowrap;
}

body.safegg-body .auction-detail-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    min-height: 44px;
    border: 1px solid var(--wx-gold);
    border-radius: 9px;
    background: linear-gradient(180deg, var(--wx-red), var(--wx-red-dark));
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
}

    body.safegg-body .auction-detail-btn:hover {
        color: #fff;
        filter: brightness(1.1);
    }

body.safegg-body .auction-grid.view-list {
    grid-template-columns: 1fr;
}

    body.safegg-body .auction-grid.view-list .auction-card {
        flex-direction: row;
    }

    body.safegg-body .auction-grid.view-list .auction-card-image {
        flex: 0 0 190px;
        width: 190px;
        aspect-ratio: auto;
        min-height: 190px;
    }

    body.safegg-body .auction-grid.view-list .auction-card-body {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 220px;
        column-gap: 20px;
        align-content: center;
    }

        body.safegg-body .auction-grid.view-list .auction-card-body > * {
            grid-column: 1;
        }

    body.safegg-body .auction-grid.view-list .auction-price-block,
    body.safegg-body .auction-grid.view-list .auction-countdown,
    body.safegg-body .auction-grid.view-list .auction-detail-btn {
        grid-column: 2;
    }

    body.safegg-body .auction-grid.view-list .auction-price-block {
        grid-row: 1 / span 2;
        flex-direction: column;
        align-items: flex-start;
    }

body.safegg-body .auction-empty {
    padding: 48px 20px;
    border: 1px dashed var(--wx-line);
    border-radius: 14px;
    background: #fff;
    text-align: center;
}

/* ---------- 경매 상세 ---------- */
body.safegg-body .auction-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 20px;
    align-items: start;
}

body.safegg-body .auction-detail-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

body.safegg-body .auction-detail-card,
body.safegg-body .auction-bid-summary,
body.safegg-body .auction-bid-log {
    position: relative;
    border: 1px solid var(--wx-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(122, 22, 38, .07);
}

body.safegg-body .auction-detail-card {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: start;
    gap: 10px;
    padding: 0 22px 22px;
    overflow: hidden;
}

    body.safegg-body .auction-detail-card > .auction-game,
    body.safegg-body .auction-detail-card > .auction-item-title,
    body.safegg-body .auction-detail-card > .auction-description {
        grid-column: 1 / -1;
    }

body.safegg-body .auction-detail-status {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    margin: 0;
}

body.safegg-body .auction-detail-image {
    display: grid;
    grid-column: 1 / -1;
    place-items: center;
    width: auto;
    min-height: 280px;
    max-height: 420px;
    margin: 0 -22px 6px;
    padding: 24px;
    background: linear-gradient(160deg, #fdeff1, #f6dfe3);
}

    body.safegg-body .auction-detail-image img {
        max-width: 70% !important;
        max-height: 340px !important;
    }

body.safegg-body .auction-detail-card .auction-game {
    color: var(--wx-red);
    font-size: 15px;
    font-weight: 800;
}

body.safegg-body .auction-item-title {
    margin-top: 0;
    margin-bottom: 2px;
    color: var(--wx-ink);
    font-family: "Noto Serif KR", serif;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.25;
}

body.safegg-body .auction-seller {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    margin: 0;
    padding: 11px 14px;
    border: 1px solid var(--wx-line);
    border-radius: 10px;
    background: #fff8f8;
    box-shadow: none;
}

    body.safegg-body .auction-seller span {
        color: var(--wx-muted);
        font-size: 13px;
        font-weight: 700;
    }

    body.safegg-body .auction-seller strong {
        max-width: 100%;
        overflow: hidden;
        color: var(--wx-ink);
        font-size: 17px;
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

body.safegg-body .auction-description {
    margin-top: 6px;
    padding: 14px 16px;
    border: 1px solid var(--wx-line);
    border-radius: 10px;
    background: #fff8f8;
}

    body.safegg-body .auction-description h3 {
        margin: 0 0 6px;
        color: var(--wx-red-dark);
        font-size: 16px;
        font-weight: 800;
    }

    body.safegg-body .auction-description p {
        margin: 0;
        color: var(--wx-text);
        font-size: 15px;
        line-height: 1.7;
        white-space: pre-line;
    }

body.safegg-body .auction-bid-summary {
    position: sticky;
    top: 16px;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 0 18px;
    overflow: hidden;
}

    body.safegg-body .auction-bid-summary > *:not(.current-bid) {
        margin-left: 20px;
        margin-right: 20px;
    }

body.safegg-body .current-bid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 0 0 16px;
    padding: 22px 20px 20px;
    border: 0;
    border-bottom: 2px solid var(--wx-gold);
    border-radius: 0;
    background: linear-gradient(135deg, #3a0f1a, #6a1727);
    text-align: center;
}

    body.safegg-body .current-bid span {
        color: var(--wx-gold-light);
        font-size: 15px;
        font-weight: 700;
    }

    body.safegg-body .current-bid strong {
        color: #fff;
        font-size: 36px;
        font-weight: 900;
        font-variant-numeric: tabular-nums;
        line-height: 1.15;
    }

    body.safegg-body .current-bid small {
        color: rgba(255, 255, 255, .75);
        font-size: 14px;
    }

body.safegg-body .auction-countdown-detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    padding: 14px 16px;
    border: 1px solid #ecd9ad;
    border-radius: 12px;
    background: #fff8e6;
    color: #7a5311;
}

    body.safegg-body .auction-countdown-detail span {
        font-size: 15px;
        font-weight: 700;
    }

    body.safegg-body .auction-countdown-detail strong {
        font-size: 24px;
        font-weight: 900;
        font-variant-numeric: tabular-nums;
    }

    body.safegg-body .auction-countdown-detail.is-urgent {
        border-color: #f0b6bc;
        background: #fff0f1;
        color: #b3202e;
    }

    body.safegg-body .auction-countdown-detail.is-ended {
        border-color: #e0e0e4;
        background: #f3f3f5;
        color: #6b7280;
    }

body.safegg-body .auction-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px dashed var(--wx-line);
}

    body.safegg-body .auction-summary-row span {
        color: var(--wx-muted);
        font-size: 15px;
    }

    body.safegg-body .auction-summary-row strong {
        color: var(--wx-text);
        font-size: 16px;
        font-weight: 800;
        text-align: right;
    }

    body.safegg-body .auction-summary-row.final-price strong {
        color: var(--wx-red-dark);
        font-size: 20px;
    }

body.safegg-body .auction-bid-summary .auction-bid-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 56px;
    margin-top: 16px;
    border: 1px solid var(--wx-gold);
    border-radius: 12px;
    background: linear-gradient(180deg, var(--wx-red), var(--wx-red-dark));
    box-shadow: 0 6px 16px rgba(122, 22, 38, .3);
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    text-decoration: none;
}

    body.safegg-body .auction-bid-summary .auction-bid-btn.disabled,
    body.safegg-body .auction-bid-summary .auction-bid-btn:disabled {
        border-color: #d5d5da;
        background: #e5e5ea;
        box-shadow: none;
        color: #8a8a94;
        font-size: 17px;
    }

body.safegg-body .auction-bid-log {
    padding: 16px 18px;
}

body.safegg-body .auction-bid-log-list {
    max-height: 320px;
    overflow-y: auto;
}

body.safegg-body .auction-bid-log-item {
    border-bottom: 1px dashed var(--wx-line);
}

body.safegg-body .auction-bid-log-amount {
    color: var(--wx-red-dark);
}

@media (max-width: 1279px) {
    body.safegg-body .auction-grid {
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    }
}

@media (max-width: 900px) {
    body.safegg-body .auction-detail-layout {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    body.safegg-body .auction-detail-card,
    body.safegg-body .auction-bid-summary,
    body.safegg-body .auction-bid-log {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
    }

    body.safegg-body .auction-detail-left {
        display: contents;
    }

    body.safegg-body .auction-detail-card {
        order: 1;
    }

    body.safegg-body .auction-bid-summary {
        position: static;
        order: 2;
    }

    body.safegg-body .auction-bid-log {
        order: 3;
    }

    body.safegg-body .auction-grid.view-list .auction-card {
        flex-direction: column;
    }

    body.safegg-body .auction-grid.view-list .auction-card-image {
        flex: none;
        width: 100%;
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    body.safegg-body .auction-grid.view-list .auction-card-body {
        display: flex;
    }
}

@media (max-width: 767px) {
    body.safegg-body .auction-header h2 {
        font-size: 26px;
    }

    body.safegg-body .auction-toolbar {
        grid-template-columns: 1fr 1fr;
        padding: 12px;
    }

        body.safegg-body .auction-toolbar input[type="search"],
        body.safegg-body .auction-toolbar button[type="submit"] {
            grid-column: 1 / -1;
        }

    body.safegg-body .auction-grid,
    body.safegg-body .auction-grid.view-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

        body.safegg-body .auction-card-image,
        body.safegg-body .auction-grid.view-list .auction-card-image {
            aspect-ratio: 1 / 1;
        }

    body.safegg-body .auction-card-body {
        padding: 10px 10px 12px;
    }

    body.safegg-body .auction-card h3 {
        font-size: 16px;
    }

    body.safegg-body .auction-price-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

        body.safegg-body .auction-price-block strong {
            font-size: 19px;
        }

    body.safegg-body .auction-card .auction-countdown {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 7px 10px;
    }

    body.safegg-body .auction-card-info {
        grid-template-columns: 1fr;
        gap: 4px;
    }

        body.safegg-body .auction-card-info > div:nth-child(n+3) {
            display: none;
        }

    body.safegg-body .auction-detail-btn {
        min-height: 40px;
        font-size: 15px;
    }

    body.safegg-body .auction-item-title {
        font-size: 23px;
    }

    body.safegg-body .auction-detail-card {
        padding: 0 16px 18px;
    }

    body.safegg-body .auction-detail-image {
        min-height: 220px;
        margin: 0 -16px 6px;
        padding: 16px;
    }

    body.safegg-body .auction-seller {
        padding: 9px 10px;
    }

        body.safegg-body .auction-seller strong {
            font-size: 15px;
        }

    body.safegg-body .current-bid strong {
        font-size: 32px;
    }
}
