.gtexd-gt7-market {
    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--gtexd-color-bg);
    color: var(--gtexd-color-text);
    font-family: var(--gtexd-font-body);
}

.gtexd-gt7-market-inner {
    width: 100%;
    padding: 32px;
    background: var(--gtexd-color-bg);
    box-sizing: border-box;
}


/* HEADER */

.gtexd-gt7-market-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 28px;
}

.gtexd-gt7-eyebrow {
    margin-bottom: 8px;
    color: var(--gtexd-color-accent);
    font-family: var(--gtexd-font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .4px;
}

.gtexd-gt7-market h2 {
    margin: 0;
    padding: 0;
    background: transparent;
    color: var(--gtexd-color-text);
    font-family: var(--gtexd-font-display);
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.gtexd-gt7-update {
    color: #7F858F;
    font-size: 13px;
}

.gtexd-gt7-update strong {
    color: var(--gtexd-color-muted-strong);
    font-weight: 600;
}


/* =========================================================
   TABS
   Reset esplicito per impedire al tema/Elementor di
   trasformarli in normali pulsanti CTA.
========================================================= */

.gtexd-gt7-market button.gtexd-gt7-tab {
    appearance: none !important;
    -webkit-appearance: none !important;

    display: inline-flex !important;
    align-items: center !important;

    min-height: 46px !important;
    margin: 0 !important;
    padding: 12px 16px !important;

    background: transparent !important;

    border: 0 !important;
    border-bottom: 3px solid transparent !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    color: #7F858F !important;

    cursor: pointer;

    font-family: var(--gtexd-font-display) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    text-decoration: none !important;
    text-transform: none !important;

    transition:
        color .15s ease,
        border-color .15s ease !important;
}

.gtexd-gt7-market button.gtexd-gt7-tab:hover {
    background: transparent !important;
    color: var(--gtexd-color-text) !important;
    box-shadow: none !important;
}

.gtexd-gt7-market button.gtexd-gt7-tab:focus {
    background: transparent !important;
    color: var(--gtexd-color-text) !important;
    box-shadow: none !important;
    outline: 1px solid #50555E !important;
    outline-offset: -1px;
}

.gtexd-gt7-market button.gtexd-gt7-tab.is-active {
    background: transparent !important;
    border-bottom-color: var(--gtexd-color-accent) !important;
    color: var(--gtexd-color-text) !important;
}

.gtexd-gt7-tabs {
    display: flex;
    gap: 8px;

    margin: 0 0 22px;
    padding: 0;

    background: transparent;
    border-bottom: 1px solid #30343B;
}

.gtexd-gt7-tab span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 25px;
    height: 20px;

    margin-left: 8px;
    padding: 0 6px;

    background: #30343B;
    color: var(--gtexd-color-muted-strong);

    font-family: Inter, Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
}


/* PANELS */

.gtexd-gt7-panel {
    background: transparent;
}

.gtexd-gt7-panel[hidden] {
    display: none !important;
}


/* GRID */

.gtexd-gt7-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;

    width: 100%;
}


/* CARD */

.gtexd-gt7-card {
    position: relative;

    min-width: 0;
    overflow: hidden;

    background: #1A1D22;
    border: 1px solid #30343B;

    transition:
        border-color .15s ease,
        transform .15s ease;
}

.gtexd-gt7-card:hover {
    border-color: #50555E;
    transform: translateY(-2px);
}


/* IMAGE */

.gtexd-gt7-card-image {
    position: relative;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #111317;
    border-bottom: 1px solid #30343B;
}

.gtexd-gt7-card-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    color: #30343B;

    font-family: var(--gtexd-font-display);
    font-size: 42px;
    font-weight: 700;
}


/* BADGES */

.gtexd-gt7-card-badges {
    position: absolute;

    top: 10px;
    left: 10px;

    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.gtexd-gt7-badge {
    display: inline-flex;
    align-items: center;

    min-height: 24px;

    padding: 4px 8px;

    font-family: var(--gtexd-font-display);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.gtexd-gt7-badge-new {
    background: var(--gtexd-color-accent);
    color: #FFFFFF;
}

.gtexd-gt7-badge-state {
    background: rgba(13, 13, 15, .90);
    border: 1px solid #30343B;
    color: var(--gtexd-color-text);
}

.gtexd-gt7-card.is-limited .gtexd-gt7-badge-state {
    color: #F2C94C;
}

.gtexd-gt7-card.is-soldout .gtexd-gt7-badge-state {
    color: #7F858F;
}


/* CONTENT */

.gtexd-gt7-card-content {
    padding: 16px;
}

.gtexd-gt7-card-maker {
    margin-bottom: 6px;

    color: var(--gtexd-color-accent);

    font-family: var(--gtexd-font-display);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.gtexd-gt7-card-name {
    min-height: 46px;

    margin: 0 0 18px;
    padding: 0;

    background: transparent;

    color: var(--gtexd-color-text);

    font-family: var(--gtexd-font-display);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.08;
}

.gtexd-gt7-card-price {
    margin-bottom: 14px;

    color: var(--gtexd-color-text);

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


/* META */

.gtexd-gt7-card-meta {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    padding-top: 12px;

    border-top: 1px solid #30343B;
}

.gtexd-gt7-card-swap {
    color: var(--gtexd-color-muted-strong);

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


/* STATES */

.gtexd-gt7-empty,
.gtexd-gt7-error {
    padding: 24px;

    background: #1A1D22;
    border: 1px solid #30343B;

    color: var(--gtexd-color-muted-strong);
}

.gtexd-gt7-error {
    border-color: var(--gtexd-color-accent);
}


/* TABLET */

@media (max-width: 1100px) {

    .gtexd-gt7-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* SMALL TABLET */

@media (max-width: 800px) {

    .gtexd-gt7-market-inner {
        padding: 24px;
    }

    .gtexd-gt7-market-top {
        display: block;
    }

    .gtexd-gt7-update {
        margin-top: 12px;
    }

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

}


/* MOBILE */

@media (max-width: 520px) {

    .gtexd-gt7-market-inner {
        padding: 20px;
    }

    .gtexd-gt7-grid {
        grid-template-columns: 1fr;
    }

    .gtexd-gt7-tabs {
        overflow-x: auto;
    }

    .gtexd-gt7-market button.gtexd-gt7-tab {
        flex: 0 0 auto !important;
    }

    .gtexd-gt7-market h2 {
        font-size: 27px;
    }

}

/* Market card photos */
.gtexd-gt7-market-card-photo {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gtexd-gt7-card-badges {
    z-index: 3;
}


/* =========================================================
   GT7 ALERTS FRONTEND — MOCKUP-INSPIRED
========================================================= */

.gtexd-gt7-alert-center {
    width: 100%;
    margin: 0;
    padding: 0;
    background:
        radial-gradient(circle at 18% 0%, rgba(196, 32, 38, .055), transparent 36%),
        linear-gradient(180deg, var(--gtexd-color-bg) 0%, #0F1216 100%);
    color: var(--gtexd-color-text);
    font-family: var(--gtexd-font-body);
}

.gtexd-gt7-alert-inner {
    width: 100%;
    padding: 30px 32px 36px;
    box-sizing: border-box;
    border-top: 1px solid #30343B;
}

.gtexd-gt7-alert-center h2,
.gtexd-gt7-alert-center h3,
.gtexd-gt7-alert-center h4 {
    margin: 0;
    padding: 0;
    background: transparent;
    color: var(--gtexd-color-text);
    font-family: var(--gtexd-font-display);
    font-weight: 700;
}


/* CONTROL CARD */

.gtexd-gt7-alert-control-card {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    overflow: visible;
    background: linear-gradient(180deg, #12171D 0%, #101419 100%);
    border: 1px solid #39424D;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .015);
}

.gtexd-gt7-alert-control-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 176px;
}

.gtexd-gt7-alert-control-icon::after {
    position: absolute;
    top: 36px;
    right: 0;
    bottom: 36px;
    width: 1px;
    background: #59616C;
    content: "";
}

.gtexd-gt7-alert-bell-ring {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border: 3px solid #D22027;
    border-radius: 50%;
    color: #D22027;
}

.gtexd-gt7-alert-bell-ring svg {
    width: 34px;
    height: 34px;
}

.gtexd-gt7-alert-control-main {
    min-width: 0;
    padding: 23px 28px 18px 30px;
}

.gtexd-gt7-alert-heading {
    margin-bottom: 16px;
}

.gtexd-gt7-alert-heading .gtexd-gt7-eyebrow {
    display: none;
}

.gtexd-gt7-alert-center h2 {
    font-size: 27px;
    line-height: 1;
    letter-spacing: .15px;
}

.gtexd-gt7-alert-heading p {
    margin: 7px 0 0;
    color: #AEB5BF;
    font-size: 14px;
    line-height: 1.45;
}

.gtexd-gt7-alert-form-row {
    display: grid;
    grid-template-columns: minmax(150px, .72fr) minmax(210px, .95fr) minmax(310px, 1.8fr) minmax(180px, .9fr);
    align-items: end;
    gap: 16px;
}

.gtexd-gt7-alert-field {
    min-width: 0;
}

.gtexd-gt7-alert-field > label {
    display: block;
    margin: 0 0 6px;
    color: #D6DBE2;
    font-size: 12px;
    line-height: 1;
}

.gtexd-gt7-alert-center select,
.gtexd-gt7-alert-center input.gtexd-gt7-alert-search {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 44px;
    margin: 0;
    box-sizing: border-box;
    background-color: #171C22;
    border: 1px solid #46515D;
    border-radius: 4px;
    box-shadow: none;
    color: #E9ECF0;
    font-family: var(--gtexd-font-body);
    font-size: 13px;
    outline: none;
}

.gtexd-gt7-alert-center select {
    padding: 0 35px 0 13px;
    background-image:
        linear-gradient(45deg, transparent 50%, #A9B1BB 50%),
        linear-gradient(135deg, #A9B1BB 50%, transparent 50%);
    background-position:
        calc(100% - 17px) 18px,
        calc(100% - 12px) 18px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.gtexd-gt7-alert-center input.gtexd-gt7-alert-search {
    padding: 0 70px 0 13px;
}

.gtexd-gt7-alert-center select:focus,
.gtexd-gt7-alert-center input.gtexd-gt7-alert-search:focus {
    border-color: #76818E;
    box-shadow: 0 0 0 1px rgba(196, 32, 38, .45);
}

.gtexd-gt7-alert-center select:disabled,
.gtexd-gt7-alert-center input.gtexd-gt7-alert-search:disabled {
    cursor: wait;
    opacity: .55;
}

.gtexd-gt7-alert-center input.gtexd-gt7-alert-search::placeholder {
    color: #747C87;
}

.gtexd-gt7-alert-search-wrap {
    position: relative;
    z-index: 20;
    margin: 0;
}

.gtexd-gt7-alert-search-box {
    position: relative;
}

.gtexd-gt7-alert-search-icon {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-52%);
    color: #A6AEB8;
    font-size: 25px;
    line-height: 1;
    pointer-events: none;
}

.gtexd-gt7-alert-search-status {
    position: absolute;
    top: 50%;
    right: 39px;
    transform: translateY(-50%);
    color: #747C87;
    font-size: 10px;
    pointer-events: none;
}

.gtexd-gt7-alert-results {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    max-height: 420px;
    overflow-y: auto;
    background: #171C22;
    border: 1px solid #46515D;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .48);
}

.gtexd-gt7-alert-results[hidden] {
    display: none !important;
}

.gtexd-gt7-alert-center button.gtexd-gt7-alert-result {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 18px !important;
    width: 100% !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 10px 13px !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #2D343D !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--gtexd-color-text) !important;
    cursor: pointer;
    text-align: left !important;
    text-transform: none !important;
}

.gtexd-gt7-alert-center button.gtexd-gt7-alert-result:last-child {
    border-bottom: 0 !important;
}

.gtexd-gt7-alert-center button.gtexd-gt7-alert-result:hover,
.gtexd-gt7-alert-center button.gtexd-gt7-alert-result:focus {
    background: #20262D !important;
    outline: none !important;
}

.gtexd-gt7-alert-result-main {
    min-width: 0;
}

.gtexd-gt7-alert-result-main strong {
    display: block;
    margin-bottom: 2px;
    color: #D22027;
    font-family: var(--gtexd-font-display);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.gtexd-gt7-alert-result-main span {
    display: block;
    overflow: hidden;
    color: #F3F5F7;
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gtexd-gt7-alert-result-state {
    flex: 0 0 auto;
    padding: 4px 6px;
    border: 1px solid #46515D;
    color: #9098A2;
    font-family: var(--gtexd-font-display);
    font-size: 10px;
    font-weight: 700;
}

.gtexd-gt7-alert-result-state.is-normal {
    border-color: #34724A;
    color: #83D39A;
}

.gtexd-gt7-alert-result-state.is-limited {
    border-color: #7A631D;
    color: #F2C94C;
}

.gtexd-gt7-alert-result-state.is-soldout,
.gtexd-gt7-alert-result-state.is-unavailable {
    color: #818995;
}

.gtexd-gt7-alert-primary-wrap {
    min-width: 0;
}

/*
 * CTA: il linguaggio visivo (palette, font, radius, hover) arriva da GTExD UI Core.
 * Qui restano solo le dimensioni compatte proprie dei controlli Market Hub.
 */
.gtexd-gt7-alert-center .gtexd-gt7-alert-button,
.gtexd-gt7-alert-center button.gtexd-gt7-alert-button,
.gtexd-gt7-alert-center a.gtexd-gt7-alert-button {
    min-height: 42px !important;
    height: 42px;
    padding-inline: 17px !important;
    font-size: 14px !important;
}

.gtexd-gt7-alert-center .gtexd-gt7-alert-primary {
    width: 100% !important;
    height: var(--gtexd-button-height);
    min-height: var(--gtexd-button-height) !important;
    padding-inline: var(--gtexd-button-padding-x) !important;
    font-size: var(--gtexd-button-font-size) !important;
}

.gtexd-gt7-alert-center .gtexd-gt7-alert-button:focus {
    outline: none !important;
}

.gtexd-gt7-alert-center .gtexd-gt7-alert-button:disabled,
.gtexd-gt7-alert-center .gtexd-gt7-alert-button.is-loading {
    cursor: not-allowed !important;
    opacity: .48 !important;
}

.gtexd-gt7-alert-center .gtexd-gt7-alert-button.is-secondary {
    background: transparent !important;
    border-color: #596471 !important;
    color: #CED3D9 !important;
}

.gtexd-gt7-alert-info-line {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    color: #8F97A2;
    font-size: 11px;
    line-height: 1.4;
}

.gtexd-gt7-alert-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #818995;
    color: #11161B;
    font-size: 10px;
    font-weight: 800;
}


/* DASHBOARD */

.gtexd-gt7-alert-dashboard {
    display: grid;
    grid-template-columns: minmax(0, 1.72fr) minmax(360px, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.gtexd-gt7-alert-selected-panel,
.gtexd-gt7-user-alerts {
    min-width: 0;
    padding: 18px;
    background: linear-gradient(180deg, #12171D 0%, #101419 100%);
    border: 1px solid #39424D;
}

.gtexd-gt7-panel-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 27px;
    margin-bottom: 14px;
}

.gtexd-gt7-panel-accent {
    display: block;
    width: 38px;
    height: 3px;
    background: #D22027;
}

.gtexd-gt7-panel-heading h3,
.gtexd-gt7-user-alerts h3 {
    font-size: 24px;
    line-height: 1;
}


/* SELECTED CAR */

.gtexd-gt7-alert-detail {
    min-height: 148px;
    margin: 0;
}

.gtexd-gt7-alert-placeholder,
.gtexd-gt7-alert-loading,
.gtexd-gt7-alert-inline-error,
.gtexd-gt7-alert-empty-state {
    padding: 18px;
    background: #171C22;
    border: 1px solid #303944;
    color: #8F97A2;
    font-size: 13px;
    line-height: 1.5;
}

.gtexd-gt7-alert-inline-error {
    border-color: #87292D;
    color: #E2B0B2;
}

.gtexd-gt7-alert-car {
    display: grid;
    grid-template-columns: minmax(220px, .82fr) minmax(0, 1.18fr);
    overflow: hidden;
    min-height: 210px;
    background: #171C22;
    border: 1px solid #303944;
}

.gtexd-gt7-alert-car-image,
.gtexd-gt7-user-alert-image {
    position: relative;
    overflow: hidden;
    background: #11151A;
}

.gtexd-gt7-alert-car-image {
    min-height: 210px;
    border-right: 1px solid #303944;
}

/*
 * Immagini alert:
 * - la vettura selezionata usa CONTAIN perché il pannello può diventare
 *   più alto del rapporto 16:9 quando titolo/testi occupano più righe;
 * - le miniature degli avvisi restano COVER.
 *
 * width/height !important neutralizzano le regole globali dei temi
 * WordPress (tipicamente img { height:auto }) che altrimenti fanno
 * renderizzare la foto alla sola altezza naturale 16:9 lasciando
 * visibile il placeholder sotto.
 */
.gtexd-gt7-alert-car-image img {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    opacity: 0;
    transition: opacity .18s ease;
}

.gtexd-gt7-user-alert-image img {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    opacity: 0;
    transition: opacity .18s ease;
}

.gtexd-gt7-alert-car-image.has-image img,
.gtexd-gt7-user-alert-image.has-image img {
    opacity: 1;
}

.gtexd-gt7-alert-car-image.has-image .gtexd-gt7-alert-image-placeholder,
.gtexd-gt7-user-alert-image.has-image .gtexd-gt7-alert-image-placeholder {
    opacity: 0;
    visibility: hidden;
}

.gtexd-gt7-alert-image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #303741;
    font-family: var(--gtexd-font-display);
    font-size: 34px;
    font-weight: 700;
}

.gtexd-gt7-alert-car-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 20px 22px;
}

.gtexd-gt7-alert-car-topline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
}

.gtexd-gt7-alert-car-maker {
    margin-bottom: 4px;
    color: #D22027;
    font-family: var(--gtexd-font-display);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.gtexd-gt7-alert-car h3 {
    font-size: 23px;
    line-height: 1.05;
}

.gtexd-gt7-alert-status-badge {
    flex: 0 0 auto;
    padding: 5px 7px;
    border: 1px solid #48535F;
    color: #B8C0CA;
    font-family: var(--gtexd-font-display);
    font-size: 10px;
    font-weight: 700;
}

.gtexd-gt7-alert-car.is-normal .gtexd-gt7-alert-status-badge {
    border-color: #2F7045;
    color: #83D39A;
}

.gtexd-gt7-alert-car.is-limited .gtexd-gt7-alert-status-badge {
    border-color: #735E1C;
    color: #F2C94C;
}

.gtexd-gt7-alert-car.is-soldout .gtexd-gt7-alert-status-badge,
.gtexd-gt7-alert-car.is-unavailable .gtexd-gt7-alert-status-badge,
.gtexd-gt7-alert-car.is-undetermined .gtexd-gt7-alert-status-badge {
    color: #8C949F;
}

.gtexd-gt7-alert-car-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    color: #8B939E;
    font-size: 11px;
    font-weight: 600;
}

.gtexd-gt7-alert-car-meta strong {
    color: var(--gtexd-color-text);
    font-size: 18px;
}

.gtexd-gt7-alert-car-description {
    margin: 14px 0 0;
    color: #A8B0BA;
    font-size: 12px;
    line-height: 1.5;
}

.gtexd-gt7-alert-car-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    padding-top: 13px;
    border-top: 1px solid #303944;
}

.gtexd-gt7-alert-active-label {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid #2F7045;
    border-radius: 14px;
    color: #83D39A;
    font-family: var(--gtexd-font-display);
    font-size: 11px;
    font-weight: 700;
}

.gtexd-gt7-alert-action-note {
    color: #8B939E;
    font-size: 11px;
}


/* MY ALERTS — compact rows like the mockup */

.gtexd-gt7-user-alerts {
    display: flex;
    flex-direction: column;
}

.gtexd-gt7-user-alerts-top {
    flex: 0 0 auto;
}

.gtexd-gt7-user-alerts-list {
    min-height: 148px;
}

.gtexd-gt7-user-alerts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
}

.gtexd-gt7-user-alert-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    min-width: 0;
    min-height: 66px;
    overflow: hidden;
    background: #171C22;
    border: 1px solid #303944;
}

.gtexd-gt7-alert-center button.gtexd-gt7-user-alert-image {
    appearance: none !important;
    -webkit-appearance: none !important;
    position: relative !important;
    display: block !important;
    width: 88px !important;
    min-height: 66px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #11151A !important;
    border: 0 !important;
    border-right: 1px solid #303944 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    cursor: pointer;
}

.gtexd-gt7-user-alert-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 8px 10px;
}

.gtexd-gt7-alert-center button.gtexd-gt7-user-alert-title {
    appearance: none !important;
    -webkit-appearance: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #FFFFFF !important;
    cursor: pointer;
    text-align: left !important;
    text-transform: none !important;
}

.gtexd-gt7-user-alert-title strong,
.gtexd-gt7-user-alert-title span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gtexd-gt7-user-alert-title strong {
    color: #F3F5F7;
    font-size: 12px;
    font-weight: 700;
}

.gtexd-gt7-user-alert-title span {
    margin-top: 3px;
    color: #8E96A1;
    font-size: 10px;
}

.gtexd-gt7-user-alert-status {
    min-width: 96px;
    padding: 5px 9px;
    border: 1px solid #765F17;
    border-radius: 16px;
    color: #F2C94C;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

.gtexd-gt7-user-alert-status.is-sent {
    border-color: #2F7045;
    color: #83D39A;
}

.gtexd-gt7-user-alert-status.is-off {
    border-color: #4B5561;
    color: #929AA5;
}

.gtexd-gt7-user-alert-status small {
    display: block;
    margin-top: 4px;
    color: #808894;
    font-size: 8px;
    font-weight: 500;
}

.gtexd-gt7-user-alert-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    border: 0;
}

.gtexd-gt7-alert-center button.gtexd-gt7-user-alert-action {
    appearance: none !important;
    -webkit-appearance: none !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    background: transparent !important;
    border: 1px solid #596471 !important;
    border-radius: 3px !important;
    box-shadow: none !important;
    color: #E4E8ED !important;
    cursor: pointer;
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-transform: none !important;
}

.gtexd-gt7-alert-center button.gtexd-gt7-user-alert-action:hover,
.gtexd-gt7-alert-center button.gtexd-gt7-user-alert-action:focus {
    border-color: #818C99 !important;
    color: #FFFFFF !important;
    outline: none !important;
}

.gtexd-gt7-user-alert-note {
    color: #777F8A;
    font-size: 9px;
    white-space: nowrap;
}

.gtexd-gt7-alert-mail-note {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: auto;
    padding: 15px 3px 0;
    color: #9AA2AD;
    font-size: 11px;
    line-height: 1.45;
}

.gtexd-gt7-alert-mail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 42px;
    height: 30px;
    border: 2px solid #D22027;
    color: #D22027;
    font-size: 18px;
}

.gtexd-gt7-login-callout {
    padding: 17px;
    background: #171C22;
    border: 1px solid #303944;
}

.gtexd-gt7-login-callout p {
    margin: 0 0 12px;
    color: #A8B0BA;
    font-size: 12px;
}


/* FEEDBACK */

.gtexd-gt7-alert-feedback {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 99999;
    max-width: min(420px, calc(100vw - 44px));
    padding: 13px 15px;
    background: #171C22;
    border: 1px solid #39424D;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .5);
    color: var(--gtexd-color-text);
    font-size: 12px;
    line-height: 1.45;
}

.gtexd-gt7-alert-feedback[hidden] {
    display: none !important;
}

.gtexd-gt7-alert-feedback.is-success {
    border-color: #2F7045;
}

.gtexd-gt7-alert-feedback.is-error {
    border-color: #87292D;
}


/* RESPONSIVE */

@media (max-width: 1200px) {

    .gtexd-gt7-alert-form-row {
        grid-template-columns: minmax(160px, .8fr) minmax(220px, 1fr) minmax(280px, 1.5fr);
    }

    .gtexd-gt7-alert-primary-wrap {
        grid-column: 3;
    }

    .gtexd-gt7-alert-dashboard {
        grid-template-columns: minmax(0, 1.45fr) minmax(330px, 1fr);
    }
}

@media (max-width: 980px) {

    .gtexd-gt7-alert-control-card {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .gtexd-gt7-alert-control-icon {
        min-height: 150px;
    }

    .gtexd-gt7-alert-bell-ring {
        width: 56px;
        height: 56px;
    }

    .gtexd-gt7-alert-bell-ring svg {
        width: 28px;
        height: 28px;
    }

    .gtexd-gt7-alert-form-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gtexd-gt7-alert-primary-wrap {
        grid-column: auto;
    }

    .gtexd-gt7-alert-dashboard {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {

    .gtexd-gt7-alert-inner {
        padding: 24px;
    }

    .gtexd-gt7-alert-control-card {
        grid-template-columns: 1fr;
    }

    .gtexd-gt7-alert-control-icon {
        min-height: 88px;
        justify-content: flex-start;
        padding-left: 24px;
    }

    .gtexd-gt7-alert-control-icon::after {
        top: auto;
        left: 24px;
        right: 24px;
        bottom: 0;
        width: auto;
        height: 1px;
    }

    .gtexd-gt7-alert-control-main {
        padding: 22px 24px;
    }

    .gtexd-gt7-alert-car {
        grid-template-columns: 1fr;
    }

    .gtexd-gt7-alert-car-image {
        min-height: 0;
        aspect-ratio: 16 / 9;
        border-right: 0;
        border-bottom: 1px solid #303944;
    }
}

@media (max-width: 620px) {

    .gtexd-gt7-alert-inner {
        padding: 20px;
    }

    .gtexd-gt7-alert-form-row {
        grid-template-columns: 1fr;
    }

    .gtexd-gt7-alert-center h2 {
        font-size: 23px;
    }

    .gtexd-gt7-alert-search-status {
        display: none;
    }

    .gtexd-gt7-alert-center input.gtexd-gt7-alert-search {
        padding-right: 44px;
    }

    .gtexd-gt7-panel-heading h3,
    .gtexd-gt7-user-alerts h3 {
        font-size: 21px;
    }

    .gtexd-gt7-user-alert-card {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .gtexd-gt7-alert-center button.gtexd-gt7-user-alert-image {
        width: 72px !important;
    }

    .gtexd-gt7-user-alert-content {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
    }

    .gtexd-gt7-user-alert-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .gtexd-gt7-user-alert-status {
        min-width: 80px;
    }
}



/* =========================================================
   TOP 3 COMMUNITY WATCHLIST / PODIO
========================================================= */

.gtexd-gt7-top3 {
    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--gtexd-color-bg);
    color: var(--gtexd-color-text);
    font-family: var(--gtexd-font-body);
}

.gtexd-gt7-top3-inner {
    width: 100%;
    padding: 32px;
    box-sizing: border-box;
}

.gtexd-gt7-top3-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 42px;
}

.gtexd-gt7-top3-heading h2 {
    margin: 0;
    color: var(--gtexd-color-text);
    font-family: var(--gtexd-font-display);
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.gtexd-gt7-top3-heading p {
    max-width: 520px;
    margin: 0;
    color: #8F97A2;
    font-size: 13px;
    line-height: 1.5;
    text-align: right;
}

.gtexd-gt7-top3-podium {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) minmax(0, 1fr);
    align-items: end;
    gap: 18px;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

.gtexd-gt7-top3-podium[data-count="1"] {
    grid-template-columns: minmax(0, 390px);
    justify-content: center;
    max-width: 390px;
}

.gtexd-gt7-top3-podium[data-count="2"] {
    grid-template-columns: repeat(2, minmax(0, 390px));
    justify-content: center;
    max-width: 800px;
}

.gtexd-gt7-top3-card {
    position: relative;
    min-width: 0;
    overflow: visible;
    background: #171C22;
    border: 1px solid #303944;
    box-sizing: border-box;
}

.gtexd-gt7-top3-card.is-rank-1 {
    order: 2;
    transform: translateY(-18px);
    border-color: #5D522F;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .22);
}

.gtexd-gt7-top3-card.is-rank-2 {
    order: 1;
}

.gtexd-gt7-top3-card.is-rank-3 {
    order: 3;
}

.gtexd-gt7-top3-podium[data-count="2"] .gtexd-gt7-top3-card.is-rank-1,
.gtexd-gt7-top3-podium[data-count="2"] .gtexd-gt7-top3-card.is-rank-2,
.gtexd-gt7-top3-podium[data-count="1"] .gtexd-gt7-top3-card.is-rank-1 {
    order: initial;
}

.gtexd-gt7-top3-podium[data-count="2"] .gtexd-gt7-top3-card.is-rank-1,
.gtexd-gt7-top3-podium[data-count="1"] .gtexd-gt7-top3-card.is-rank-1 {
    transform: none;
}

.gtexd-gt7-top3-medal {
    position: absolute;
    z-index: 4;
    top: -26px;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    transform: translateX(-50%);
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    font-size: 44px;
    line-height: 1;
    filter: drop-shadow(0 5px 8px rgba(0, 0, 0, .45));
}

.gtexd-gt7-top3-card.is-rank-1 .gtexd-gt7-top3-medal {
    top: -31px;
    width: 66px;
    height: 66px;
    font-size: 52px;
}

.gtexd-gt7-top3-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #11151A;
    border-bottom: 1px solid #303944;
}

.gtexd-gt7-top3-image-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #303640;
    font-family: var(--gtexd-font-display);
    font-size: 52px;
    font-weight: 700;
}

.gtexd-gt7-top3-image img {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gtexd-gt7-top3-content {
    padding: 20px 20px 18px;
}

.gtexd-gt7-top3-card.is-rank-1 .gtexd-gt7-top3-content {
    padding: 23px 22px 20px;
}

.gtexd-gt7-top3-maker {
    margin-bottom: 7px;
    color: #D22027;
    font-family: var(--gtexd-font-display);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.gtexd-gt7-top3-card h3 {
    min-height: 2.25em;
    margin: 0 0 20px;
    color: var(--gtexd-color-text);
    font-family: var(--gtexd-font-display);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.12;
}

.gtexd-gt7-top3-card.is-rank-1 h3 {
    font-size: 26px;
}

.gtexd-gt7-top3-count {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid #303944;
    color: #AAB1BB;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
}

.gtexd-gt7-top3-count-dot {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    background: #D22027;
    border-radius: 50%;
}

@media (max-width: 900px) {
    .gtexd-gt7-top3-inner {
        padding: 24px;
    }

    .gtexd-gt7-top3-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 38px;
    }

    .gtexd-gt7-top3-heading p {
        max-width: none;
        text-align: left;
    }

    .gtexd-gt7-top3-podium,
    .gtexd-gt7-top3-podium[data-count="1"],
    .gtexd-gt7-top3-podium[data-count="2"] {
        grid-template-columns: 1fr;
        max-width: 620px;
        gap: 34px;
    }

    .gtexd-gt7-top3-card.is-rank-1,
    .gtexd-gt7-top3-card.is-rank-2,
    .gtexd-gt7-top3-card.is-rank-3 {
        order: initial;
        transform: none;
    }

    .gtexd-gt7-top3-card.is-rank-1 { order: 1; }
    .gtexd-gt7-top3-card.is-rank-2 { order: 2; }
    .gtexd-gt7-top3-card.is-rank-3 { order: 3; }
}

@media (max-width: 520px) {
    .gtexd-gt7-top3-inner {
        padding: 20px;
    }

    .gtexd-gt7-top3-heading h2 {
        font-size: 26px;
    }

    .gtexd-gt7-top3-card h3,
    .gtexd-gt7-top3-card.is-rank-1 h3 {
        min-height: 0;
        font-size: 22px;
    }

    .gtexd-gt7-top3-medal,
    .gtexd-gt7-top3-card.is-rank-1 .gtexd-gt7-top3-medal {
        top: -24px;
        width: 54px;
        height: 54px;
        font-size: 42px;
    }
}

