/* =========================================================
   KEBRICK — MARKETPLACE & COMMUNITY
   Premium Dark Neon Design
========================================================= */

/* =========================
   1. MARKETPLACE SECTION
========================= */

.marketplace-section {
    position: relative;
    width: min(1200px, 92%);
    margin: 90px auto;
    padding: 35px 0;
    color: #f5f5fa;
}

.marketplace-section * {
    box-sizing: border-box;
}

.marketplace-section h1,
.marketplace-section h2,
.marketplace-section h3,
.marketplace-section h4 {
    color: #f5f5fa;
}

.marketplace-section p {
    color: #9292a3;
}

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

.marketplace-header h2 {
    font-size: clamp(27px, 4vw, 38px);
    font-weight: 900;
    letter-spacing: -1px;
}

.marketplace-header p {
    margin-top: 8px;
    font-size: 14px;
    max-width: 550px;
}

.marketplace-header .section-label {
    display: inline-block;
    margin-bottom: 10px;
    color: #a477ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}


/* =========================
   2. CREATE LISTING BUTTON
========================= */

.marketplace-create-btn,
.marketplace-submit-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 9px;

    padding: 13px 21px;

    background: linear-gradient(
        135deg,
        #ffd43b,
        #ffb800
    );

    color: #171717;

    border: none;
    border-radius: 12px;

    font-size: 13px;
    font-weight: 900;

    cursor: pointer;

    transition: all 0.3s ease;
}

.marketplace-create-btn:hover,
.marketplace-submit-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 30px rgba(255, 212, 59, 0.25);
}

.marketplace-create-btn:active,
.marketplace-submit-btn:active {
    transform: scale(0.97);
}


/* =========================
   3. MARKETPLACE TABS
========================= */

.marketplace-tabs {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 7px;

    margin-bottom: 25px;

    background: #1a1a22;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;

    width: fit-content;
    max-width: 100%;
}

.market-tab {
    padding: 11px 20px;

    background: transparent;

    color: #9292a3;

    border: none;
    border-radius: 9px;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition: all 0.25s ease;
}

.market-tab:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.market-tab.active {
    color: #171717;

    background: #ffd43b;

    box-shadow:
        0 4px 15px rgba(255, 212, 59, 0.15);
}

.market-tab-content {
    width: 100%;
}


/* =========================
   4. MARKETPLACE FILTERS
========================= */

.marketplace-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;

    padding: 18px;

    margin-bottom: 25px;

    background: #1a1a22;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 15px;
}

.marketplace-filters input,
.marketplace-filters select {
    min-width: 150px;
    flex: 1;

    padding: 12px 14px;

    background: #242430;

    color: #f5f5fa;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;

    outline: none;

    transition: all 0.25s ease;
}

.marketplace-filters input::placeholder {
    color: #777788;
}

.marketplace-filters input:focus,
.marketplace-filters select:focus {
    border-color: #a477ff;

    box-shadow:
        0 0 0 3px rgba(164, 119, 255, 0.1);
}

.marketplace-filters button {
    padding: 12px 17px;

    background: #292936;

    color: #f5f5fa;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.25s ease;
}

.marketplace-filters button:hover {
    color: #ffd43b;
    border-color: #ffd43b;
}


/* =========================
   5. MARKETPLACE GRID
========================= */

.marketplace-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fill, minmax(250px, 1fr));

    gap: 22px;

    width: 100%;
}


/* =========================
   6. MARKETPLACE CARD
========================= */

.marketplace-card {
    position: relative;

    min-width: 0;

    overflow: hidden;

    background: linear-gradient(
        145deg,
        #22222d,
        #191920
    );

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 19px;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.22);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;

    transform-style: preserve-3d;
}

.marketplace-card:hover {
    transform:
        perspective(1000px)
        rotateX(2deg)
        rotateY(-3deg)
        translateY(-7px);

    border-color: rgba(164, 119, 255, 0.5);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(164, 119, 255, 0.15);
}


/* =========================
   7. CARD IMAGE
========================= */

.marketplace-card-image {
    position: relative;

    width: 100%;
    height: 220px;

    overflow: hidden;

    background: #15151d;
}

.marketplace-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.marketplace-card:hover .marketplace-card-image img {
    transform: scale(1.07);
}

.marketplace-card-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.35),
        transparent 55%
    );

    pointer-events: none;
}


/* =========================
   8. CARD CONTENT
========================= */

.marketplace-card-content {
    padding: 18px;
}

.marketplace-card-content h3 {
    margin-bottom: 8px;

    font-size: 17px;
    font-weight: 800;

    line-height: 1.4;
}

.marketplace-card-content p {
    margin: 6px 0;

    color: #9292a3;

    font-size: 12px;
    line-height: 1.6;
}

.marketplace-card-price {
    margin: 13px 0;

    color: #ffd43b;

    font-size: 23px;
    font-weight: 900;

    text-shadow:
        0 0 15px rgba(255, 212, 59, 0.12);
}

.marketplace-card-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;

    margin-top: 12px;
}

.marketplace-card-info span {
    padding: 5px 9px;

    color: #b9b9c8;

    background: #292936;

    border-radius: 7px;

    font-size: 10px;
    font-weight: 700;
}

.marketplace-card-badge {
    position: absolute;

    top: 13px;
    left: 13px;

    z-index: 2;

    padding: 6px 11px;

    color: #171717;

    background: #ffd43b;

    border-radius: 20px;

    font-size: 10px;
    font-weight: 900;

    text-transform: uppercase;
}


/* =========================
   9. CARD BUTTONS
========================= */

.marketplace-card button {
    cursor: pointer;
}

.marketplace-card-content button {
    width: 100%;

    padding: 11px;

    margin-top: 13px;

    color: #f5f5fa;

    background: #292936;

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;

    font-size: 12px;
    font-weight: 800;

    transition: all 0.25s ease;
}

.marketplace-card-content button:hover {
    color: #171717;

    background: #ffd43b;

    border-color: #ffd43b;
}


/* =========================
   10. MARKETPLACE LOADING
========================= */

.marketplace-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 15px;

    min-height: 180px;

    color: #9292a3;

    font-size: 13px;
}

.marketplace-loading::before {
    content: "";

    width: 36px;
    height: 36px;

    border: 4px solid rgba(255, 255, 255, 0.08);
    border-top-color: #ffd43b;

    border-radius: 50%;

    animation: marketplaceSpin 0.8s linear infinite;
}

@keyframes marketplaceSpin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================
   11. MARKETPLACE FORM
========================= */

.marketplace-form-container {
    width: 100%;
    max-width: 850px;

    margin: 30px auto;
    padding: 30px;

    background: linear-gradient(
        145deg,
        #20202b,
        #17171f
    );

    border: 1px solid rgba(255, 255, 255, 0.09);

    border-radius: 20px;

    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.35);
}

.marketplace-form-container h2 {
    margin-bottom: 8px;

    font-size: 25px;
    font-weight: 900;
}

.marketplace-form-container > p {
    margin-bottom: 25px;

    color: #9292a3;
    font-size: 13px;
}


/* =========================
   12. FORM GRID
========================= */

.market-form-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;
}

.market-form-group {
    min-width: 0;
    margin-bottom: 18px;
}

.market-form-group label {
    display: block;

    margin-bottom: 8px;

    color: #dcdce8;

    font-size: 12px;
    font-weight: 800;
}

.market-form-group input,
.market-form-group select,
.market-form-group textarea {
    width: 100%;

    padding: 13px 14px;

    background: #292936;

    color: #f5f5fa;

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;

    outline: none;

    font-size: 13px;

    transition: all 0.25s ease;
}

.market-form-group input::placeholder,
.market-form-group textarea::placeholder {
    color: #777788;
}

.market-form-group input:focus,
.market-form-group select:focus,
.market-form-group textarea:focus {
    border-color: #a477ff;

    box-shadow:
        0 0 0 3px rgba(164, 119, 255, 0.1);
}

.market-form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.market-form-group small {
    display: block;

    margin-top: 8px;

    color: #858596;

    font-size: 11px;
}


/* =========================
   13. PHOTO UPLOAD
   KEEP ORIGINAL FUNCTIONALITY
========================= */

#listingPhotos {
    display: none !important;
}

/* Hidden input is opened by the custom Add Photo button. */

#listingPhotoPreview,
.market-photo-preview {
    display: grid;

    grid-template-columns:
        repeat(auto-fill, minmax(105px, 1fr));

    gap: 12px;

    margin-top: 15px;

    width: 100%;
}

.market-photo-card {
    position: relative;

    width: 100%;
    height: 115px;

    overflow: hidden;

    background: #292936;

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;

    transition: all 0.25s ease;
}

.market-photo-card:hover {
    border-color: #a477ff;

    box-shadow:
        0 0 18px rgba(164, 119, 255, 0.15);
}

.market-photo-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.market-photo-remove {
    position: absolute;

    top: 6px;
    right: 6px;

    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    color: white;

    background: rgba(255, 76, 101, 0.9);

    border: none;
    border-radius: 50%;

    font-size: 15px;
    font-weight: 900;

    cursor: pointer;

    transition: all 0.2s ease;
}

.market-photo-remove:hover {
    transform: scale(1.12);

    background: #ff304f;
}

.market-photo-add {
    width: 100%;
    height: 115px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 7px;

    background: rgba(164, 119, 255, 0.05);

    border: 1px dashed rgba(164, 119, 255, 0.55);
    border-radius: 12px;

    color: #b9a0ff;

    font-size: 12px;
    font-weight: 800;

    cursor: pointer;

    transition: all 0.25s ease;
}

.market-photo-add:hover {
    background: rgba(164, 119, 255, 0.13);

    border-color: #a477ff;

    box-shadow:
        0 0 20px rgba(164, 119, 255, 0.12);

    transform: translateY(-3px);
}

.market-photo-add span {
    font-size: 28px;
    line-height: 1;
}

#photoCount {
    margin-top: 12px;

    color: #9292a3;

    font-size: 11px;
    font-weight: 700;
}


/* =========================
   14. FORM MESSAGE
========================= */

#marketplaceFormMessage {
    margin-top: 15px;
    padding: 12px 15px;

    border-radius: 10px;

    font-size: 12px;
    font-weight: 700;
}

#marketplaceFormMessage:empty {
    display: none;
}


/* =========================
   15. DETAILS MODAL
========================= */

.market-details-modal {
    position: fixed;
    inset: 0;

    z-index: 3000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.82);

    backdrop-filter: blur(12px);
}

.market-details-content {
    position: relative;

    width: min(850px, 100%);
    max-height: 90vh;

    overflow-y: auto;

    padding: 30px;

    background: #1d1d27;

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(164, 119, 255, 0.08);
}

.market-details-close {
    position: sticky;

    float: right;
    top: 0;

    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #30303d;

    color: #ffffff;

    border: none;
    border-radius: 50%;

    font-size: 20px;

    cursor: pointer;

    transition: all 0.25s ease;
}

.market-details-close:hover {
    color: #ffffff;

    background: #ff4c65;

    transform: rotate(90deg);
}

.market-details-photos {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 12px;

    margin: 20px 0;
}

.market-details-photos img {
    width: 100%;
    height: 180px;

    object-fit: cover;

    background: #292936;

    border-radius: 12px;

    transition: transform 0.3s ease;
}

.market-details-photos img:hover {
    transform: scale(1.03);
}


/* =========================
   16. COMMUNITY / SHOWCASE
========================= */

.showcase-grid,
.build-showcase-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fill, minmax(230px, 1fr));

    gap: 20px;
}

.showcase-card,
.build-showcase-card {
    overflow: hidden;

    background: #1d1d27;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 17px;

    transition: all 0.3s ease;
}

.showcase-card:hover,
.build-showcase-card:hover {
    transform: translateY(-6px);

    border-color: rgba(55, 217, 255, 0.45);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.35),
        0 0 20px rgba(55, 217, 255, 0.1);
}

.showcase-card img,
.build-showcase-card img {
    width: 100%;
    height: 220px;

    object-fit: cover;
}

.showcase-card-content,
.build-showcase-content {
    padding: 16px;
}

.showcase-card-content h3,
.build-showcase-content h3 {
    margin-bottom: 7px;

    font-size: 15px;
    font-weight: 800;
}

.showcase-card-content p,
.build-showcase-content p {
    color: #9292a3;
    font-size: 12px;
}


/* =========================
   17. EMPTY STATE
========================= */

.marketplace-empty,
.marketplace-empty-state {
    padding: 55px 20px;

    text-align: center;

    background: rgba(255, 255, 255, 0.02);

    border: 1px dashed rgba(255, 255, 255, 0.13);
    border-radius: 16px;
}

.marketplace-empty h3,
.marketplace-empty-state h3 {
    margin-bottom: 10px;

    color: #f5f5fa;

    font-size: 19px;
}

.marketplace-empty p,
.marketplace-empty-state p {
    color: #9292a3;
    font-size: 13px;
}


/* =========================
   18. RESPONSIVE TABLET
========================= */

@media (max-width: 900px) {

    .marketplace-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 15px;
    }

    .marketplace-header {
        align-items: flex-start;
    }

    .marketplace-form-container {
        padding: 23px;
    }

    .market-details-content {
        padding: 23px;
    }
}


/* =========================
   19. RESPONSIVE MOBILE
========================= */

@media (max-width: 600px) {

    .marketplace-section {
        width: 94%;
        margin: 60px auto;
    }

    .marketplace-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .marketplace-header h2 {
        font-size: 27px;
    }

    .marketplace-create-btn {
        width: 100%;
    }

    .marketplace-tabs {
        width: 100%;
        overflow-x: auto;
    }

    .market-tab {
        flex: 1;
        white-space: nowrap;

        padding: 10px 12px;

        font-size: 11px;
    }

    .marketplace-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .marketplace-filters input,
    .marketplace-filters select,
    .marketplace-filters button {
        width: 100%;
    }

    .marketplace-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;
    }

    .marketplace-card {
        border-radius: 13px;
    }

    .marketplace-card-image {
        height: 145px;
    }

    .marketplace-card-content {
        padding: 11px;
    }

    .marketplace-card-content h3 {
        font-size: 13px;
    }

    .marketplace-card-price {
        font-size: 18px;
    }

    .marketplace-card-content p {
        font-size: 10px;
    }

    .marketplace-card-info span {
        font-size: 9px;
    }

    .marketplace-card-content button {
        padding: 9px 5px;
        font-size: 10px;
    }

    .marketplace-form-container {
        padding: 17px;
    }

    .market-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .market-details-modal {
        padding: 10px;
    }

    .market-details-content {
        padding: 17px;
        max-height: 94vh;
    }

    .market-details-photos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .market-details-photos img {
        height: 130px;
    }

    #listingPhotoPreview,
    .market-photo-preview {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 8px;
    }

    .market-photo-card,
    .market-photo-add {
        height: 95px;
    }
}


/* =========================
   20. VERY SMALL MOBILE
========================= */

@media (max-width: 360px) {

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

    .marketplace-card-image {
        height: 200px;
    }

    .marketplace-card-content h3 {
        font-size: 15px;
    }

    .marketplace-card-price {
        font-size: 21px;
    }

    .marketplace-tabs {
        gap: 4px;
        padding: 5px;
    }

    .market-tab {
        padding: 9px 7px;
        font-size: 10px;
    }

    #listingPhotoPreview,
    .market-photo-preview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =========================
   21. ACCESSIBILITY
========================= */

@media (prefers-reduced-motion: reduce) {

    .marketplace-section *,
    .marketplace-section *::before,
    .marketplace-section *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
/* =========================================================
   THEME-AWARE MARKETPLACE
   Uses the same light/dark setting as the rest of KEBRICK.
========================================================= */
.marketplace-section {
    --market-bg: #ffffff;
    --market-surface: #ffffff;
    --market-surface-2: #f2f3f7;
    --market-text: #20232b;
    --market-muted: #707887;
    --market-line: rgba(25, 28, 36, .12);
    color: var(--market-text) !important;
}
.marketplace-section h1,
.marketplace-section h2,
.marketplace-section h3,
.marketplace-section h4,
.marketplace-section strong,
.marketplace-section label { color: var(--market-text) !important; }
.marketplace-section p,
.marketplace-section small { color: var(--market-muted) !important; }
.marketplace-tabs,
.marketplace-filters,
.marketplace-form-container,
.marketplace-card,
.showcase-card,
.build-showcase-card,
.market-details-content,
.market-photo-card {
    color: var(--market-text) !important;
    background: var(--market-surface) !important;
    border-color: var(--market-line) !important;
    box-shadow: 0 10px 28px rgba(25, 28, 36, .07);
}
.market-tab { color: var(--market-muted) !important; }
.market-tab:hover { color: var(--market-text) !important; background: var(--market-surface-2) !important; }
.market-tab.active { color: #171717 !important; background: #ffd43b !important; }
.marketplace-filters input,
.marketplace-filters select,
.market-form-group input,
.market-form-group select,
.market-form-group textarea {
    color: var(--market-text) !important;
    background: var(--market-surface-2) !important;
    border-color: var(--market-line) !important;
}
.marketplace-filters input::placeholder,
.market-form-group input::placeholder,
.market-form-group textarea::placeholder { color: var(--market-muted) !important; }
.marketplace-card-content h3,
.showcase-card-content h3,
.build-showcase-content h3 { color: var(--market-text) !important; }
.marketplace-card-content p,
.showcase-card-content p,
.build-showcase-content p { color: var(--market-muted) !important; }
.marketplace-card-info span { color: var(--market-text) !important; background: var(--market-surface-2) !important; }
.marketplace-card-content button,
.marketplace-filters button:not(.marketplace-create-btn) {
    color: var(--market-text) !important;
    background: var(--market-surface-2) !important;
    border-color: var(--market-line) !important;
}
.marketplace-card-content button:hover,
.marketplace-filters button:hover { color: #171717 !important; background: #ffd43b !important; }
.marketplace-empty,
.marketplace-empty-state { background: var(--market-surface-2) !important; border-color: var(--market-line) !important; }
.marketplace-empty h3,
.marketplace-empty-state h3 { color: var(--market-text) !important; }
.market-details-close { color: var(--market-text) !important; background: var(--market-surface-2) !important; }
.market-photo-add { color: #7653c5 !important; background: rgba(156,123,255,.08) !important; }
.marketplace-loading { color: var(--market-muted) !important; }

body.dark-mode .marketplace-section {
    --market-bg: #101217;
    --market-surface: #1b1e26;
    --market-surface-2: #252a34;
    --market-text: #f1f2f5;
    --market-muted: #9ca3b2;
    --market-line: rgba(255,255,255,.10);
}
body.dark-mode .marketplace-tabs,
body.dark-mode .marketplace-filters,
body.dark-mode .marketplace-form-container,
body.dark-mode .marketplace-card,
body.dark-mode .showcase-card,
body.dark-mode .build-showcase-card,
body.dark-mode .market-details-content,
body.dark-mode .market-photo-card {
    box-shadow: 0 12px 30px rgba(0,0,0,.22);
}
body.dark-mode .marketplace-card-image,
body.dark-mode .market-details-photos img { background: #151820 !important; }
body.dark-mode .marketplace-card-badge { color: #171717 !important; }
body.dark-mode .marketplace-card-price { color: #ffd43b !important; }
body.dark-mode .marketplace-section .marketplace-header .section-label { color: #b99aff !important; }

/* Marketplace refinement: browse first, sell on demand, guided descriptions */
.marketplace-section{margin:25px auto 55px;padding:25px 0}.marketplace-header{padding:24px;border:1px solid rgba(255,211,45,.24);border-radius:21px;background:radial-gradient(circle at 90% 10%,rgba(155,101,255,.16),transparent 28%),linear-gradient(110deg,#171923,#24232f);box-shadow:0 14px 36px rgba(15,15,25,.14)}.marketplace-tabs{position:sticky;top:82px;z-index:5;background:#171923;border-color:rgba(255,255,255,.12);box-shadow:0 9px 25px rgba(0,0,0,.12)}.market-tab.active{box-shadow:0 0 18px rgba(255,212,59,.23)}.marketplace-empty-state{grid-column:1/-1;text-align:center;padding:45px 22px;border:1px dashed rgba(255,204,48,.42);border-radius:20px;background:radial-gradient(circle at 50% 0,rgba(255,210,50,.10),transparent 45%),rgba(255,255,255,.02)}.market-empty-icon{margin:0 auto 12px;width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:rgba(255,212,59,.13);color:#ffd43b;font-size:28px;box-shadow:0 0 25px rgba(255,212,59,.15)}.market-empty-kicker{color:#b78aff;font-size:9px;font-weight:900;letter-spacing:2px}.marketplace-empty-state h3{margin:9px 0;color:var(--text,#fff);font:700 23px 'Space Grotesk',sans-serif}.marketplace-empty-state p{max-width:460px;margin:0 auto 17px;color:var(--muted,#999);font-size:12px;line-height:1.7}.marketplace-empty-cta{border:0;border-radius:11px;padding:11px 16px;background:linear-gradient(120deg,#ffe45b,#ffc31d);color:#171717;font-weight:900;cursor:pointer}.market-description-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.market-description-heading>span{font-size:10px;color:#a985e9}.description-suggestions{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.description-suggestions button{padding:8px 11px;border:1px solid rgba(165,119,255,.28);border-radius:99px;background:rgba(165,119,255,.08);color:var(--text,#eee);font-size:10px;font-weight:800;cursor:pointer;transition:.2s}.description-suggestions button:hover,.description-suggestions button.active{border-color:#a77aff;background:rgba(165,119,255,.18);box-shadow:0 0 13px rgba(165,119,255,.16)}.description-writing-tips{margin-top:8px;padding:10px 12px;border-left:3px solid #ffd43b;border-radius:0 9px 9px 0;background:rgba(255,212,59,.07);color:var(--muted,#999);font-size:10px;line-height:1.6}.description-writing-tips strong{color:#d5b644}
body:not(.dark-mode) .marketplace-section{color:#1c1d22}body:not(.dark-mode) .marketplace-section h1,body:not(.dark-mode) .marketplace-section h2,body:not(.dark-mode) .marketplace-section h3,body:not(.dark-mode) .marketplace-section h4{color:#1b1c22}body:not(.dark-mode) .marketplace-section p{color:#686b75}body:not(.dark-mode) .marketplace-header{background:radial-gradient(circle at 90% 10%,rgba(155,101,255,.11),transparent 28%),linear-gradient(110deg,#fff9df,#fff 55%,#f5f0ff);border-color:rgba(255,197,30,.42)}body:not(.dark-mode) .marketplace-tabs{background:#fff;border-color:#e5e2d9;box-shadow:0 8px 22px rgba(20,20,30,.08)}body:not(.dark-mode) .market-tab{color:#666}body:not(.dark-mode) .market-tab:hover{color:#222;background:#f5f2e9}body:not(.dark-mode) .marketplace-filters{background:#fff;border-color:#e7e3d9}body:not(.dark-mode) .marketplace-filters input,body:not(.dark-mode) .marketplace-filters select{background:#fafafa;color:#222;border-color:#dedede}body:not(.dark-mode) .marketplace-card{background:#fff;border-color:#e8e5dc;color:#222;box-shadow:0 8px 24px rgba(20,20,30,.06)}body:not(.dark-mode) .marketplace-card h3,body:not(.dark-mode) .marketplace-card strong{color:#222}body:not(.dark-mode) .marketplace-form-container{background:#fff;border-color:#e7e3d9;color:#222}body:not(.dark-mode) .market-form-group label{color:#353535}body:not(.dark-mode) .market-form-group input,body:not(.dark-mode) .market-form-group textarea,body:not(.dark-mode) .market-form-group select{background:#fafafa;color:#222;border-color:#ddd}body:not(.dark-mode) .description-suggestions button{color:#6840a4;background:#f5efff}body:not(.dark-mode) .marketplace-empty-state{background:radial-gradient(circle at 50% 0,rgba(255,210,50,.12),transparent 45%),#fff;border-color:rgba(220,174,25,.5)}body:not(.dark-mode) .marketplace-empty-state h3{color:#222}body:not(.dark-mode) .marketplace-empty-state p{color:#6f7078}body:not(.dark-mode) .marketplace-tabs{top:80px}
.profile-account-actions-card{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:20px}.profile-account-actions-card .profile-card-heading{margin:0}.profile-account-actions-card>p{margin:0 auto 0 0;color:var(--muted,#777);font-size:12px}.profile-account-actions-card .profile-logout-button{margin:0;flex:0 0 auto}@media(max-width:650px){.profile-account-actions-card{align-items:flex-start;flex-direction:column}.marketplace-header{align-items:flex-start;flex-direction:column}.marketplace-tabs{top:70px}}

.marketplace-section .market-tab-content{display:none}.marketplace-section .market-tab-content.active{display:block}
