.gdx-brand-ltr {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
    white-space: nowrap;
}

.gdx-gold-share-summary {
    --share-border: rgba(255, 178, 46, .20);
    --share-border-strong: rgba(255, 178, 46, .32);
    --share-gold: #ffb22e;
    --share-gold-2: #ffde4d;
    --share-text: #fff7d6;
    --share-white: #ffffff;
    --share-muted: rgba(255, 255, 255, .68);
    --share-muted-2: rgba(255, 255, 255, .52);

    position: relative;
    overflow: hidden;
    border: 1px solid var(--share-border);
    border-radius: 28px;
    padding: clamp(18px, 3vw, 30px);
    background:
        radial-gradient(circle at 86% 14%, rgba(255, 178, 46, .14), transparent 30%),
        radial-gradient(circle at 16% 88%, rgba(255, 222, 77, .06), transparent 32%),
        linear-gradient(135deg, #121720 0%, #0d1017 52%, #080a0f 100%);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .32);
    color: var(--share-white);
}

.gdx-gold-share-summary::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 178, 46, .045), transparent 42%, rgba(255, 222, 77, .032)),
        radial-gradient(circle at center, rgba(255, 255, 255, .018), transparent 70%);
    pointer-events: none;
}

.gdx-gold-share-summary::after {
    content: "";
    position: absolute;
    left: -80px;
    bottom: -110px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 178, 46, .08), transparent 64%);
    pointer-events: none;
}

.gdx-gold-share-summary__head,
.gdx-gold-share-summary__marketbar,
.gdx-gold-share-summary__chart-card,
.gdx-gold-share-summary__overview,
.gdx-gold-share-summary__metrics,
.gdx-gold-share-summary__levels,
.gdx-gold-share-summary__composer,
.gdx-gold-share-summary__actions,
.gdx-gold-share-summary__footer {
    position: relative;
    z-index: 1;
}

.gdx-gold-share-summary__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.gdx-gold-share-summary__head-content {
    min-width: 0;
}

.gdx-gold-share-summary__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--share-gold-2);
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: .7px;
    direction: ltr;
    margin-bottom: 8px;
}

.gdx-gold-share-summary__kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--share-gold-2);
    box-shadow: 0 0 18px rgba(255, 222, 77, .72);
}

.gdx-gold-share-summary__head h2 {
    margin: 0 0 8px;
    color: var(--share-text);
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.35;
    font-weight: 1000;
}

.gdx-gold-share-summary__head p {
    max-width: 820px;
    margin: 0;
    color: var(--share-muted);
    font-size: 14px;
    line-height: 1.9;
}

.gdx-gold-share-summary__status,
.gdx-gold-share-summary__actions button,
.gdx-share-card-btn {
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    padding: 9px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #0d1017;
    background: linear-gradient(135deg, var(--share-gold), var(--share-gold-2));
    font-size: 12px;
    font-weight: 1000;
    white-space: nowrap;
    box-shadow: 0 14px 34px rgba(255, 178, 46, .15);
    transition: .2s ease;
}

.gdx-gold-share-summary__marketbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin: 4px 0 14px;
}

.gdx-gold-share-summary__timeframes,
.gdx-gold-share-summary__unit-switch,
.gdx-gold-share-summary__chart-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px;
    border-radius: 999px;
    border: 1px solid rgba(255, 178, 46, .18);
    background: rgba(255, 255, 255, .045);
}

.gdx-gold-share-summary__timeframes button,
.gdx-gold-share-summary__unit-switch button,
.gdx-gold-share-summary__chart-switch button {
    min-height: 34px;
    border: 0;
    border-radius: 999px;
    padding: 7px 12px;
    background: transparent;
    color: rgba(255, 255, 255, .72);
    font-size: 11px;
    font-weight: 1000;
    white-space: nowrap;
    transition: .18s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.gdx-gold-share-summary__timeframes button:hover,
.gdx-gold-share-summary__unit-switch button:hover,
.gdx-gold-share-summary__chart-switch button:hover {
    color: #fff7d6;
    background: rgba(255, 255, 255, .06);
}

.gdx-gold-share-summary__timeframes button.is-active,
.gdx-gold-share-summary__unit-switch button.is-active,
.gdx-gold-share-summary__chart-switch button.is-active {
    color: #0d1017;
    background: linear-gradient(135deg, #ffb22e, #ffde4d);
    box-shadow: 0 10px 22px rgba(255, 178, 46, .14);
}

.gdx-gold-share-summary__chart-card {
    margin-bottom: 16px;
    border: 1px solid rgba(255, 178, 46, .15);
    border-radius: 22px;
    padding: 16px;
    background:
        radial-gradient(circle at top right, rgba(255, 178, 46, .075), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, .050), rgba(255, 255, 255, .024));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

.gdx-gold-share-summary__chart-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.gdx-gold-share-summary__chart-head span {
    display: block;
    color: rgba(255, 255, 255, .52);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 5px;
}

.gdx-gold-share-summary__chart-head strong {
    display: block;
    color: #fff7d6;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 1000;
}

.gdx-gold-share-summary__chart-head b {
    color: #ffde4d;
    font-size: 12px;
    font-weight: 1000;
    white-space: nowrap;
}

.gdx-gold-share-summary__chart-box {
    width: 100%;
    height: 360px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    background: #0d1017;
}

.gdx-gold-share-summary__chart {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #0d1017;
}

.gdx-gold-share-summary__chart a[href*="tradingview"],
.gdx-gold-share-summary__chart a[href*="TradingView"],
.gdx-gold-share-summary__chart [title*="TradingView"],
.gdx-gold-share-summary__chart [aria-label*="TradingView"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.gdx-gold-share-summary__overview {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 14px;
    margin-bottom: 16px;
}

.gdx-gold-share-summary__price-card,
.gdx-gold-share-summary__signal-card,
.gdx-gold-share-summary__metric,
.gdx-gold-share-summary__level,
.gdx-gold-share-summary__composer {
    border: 1px solid rgba(255, 178, 46, .15);
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(255, 178, 46, .075), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, .050), rgba(255, 255, 255, .024));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

.gdx-gold-share-summary__price-card {
    min-height: 210px;
    padding: 20px;
}

.gdx-gold-share-summary__signal-card {
    min-height: 210px;
    padding: 22px;
    border-color: var(--share-border-strong);
    background:
        radial-gradient(circle at top right, rgba(255, 178, 46, .13), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .030));
}

.gdx-gold-share-summary__price-card span,
.gdx-gold-share-summary__signal-card span,
.gdx-gold-share-summary__metric span,
.gdx-gold-share-summary__level span,
.gdx-gold-share-summary__composer-head span {
    display: block;
    color: var(--share-muted-2);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 8px;
}

.gdx-gold-share-summary__price-card strong,
.gdx-gold-share-summary__level strong {
    direction: ltr;
    unicode-bidi: isolate;
}

.gdx-gold-share-summary__price-card strong {
    display: block;
    color: var(--share-gold);
    font-size: clamp(40px, 5vw, 62px);
    line-height: 1.15;
    font-weight: 1000;
    margin-bottom: 14px;
}

.gdx-gold-share-summary__signal-card strong {
    display: block;
    color: var(--share-gold);
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.25;
    font-weight: 1000;
    margin-bottom: 12px;
}

.gdx-gold-share-summary__price-card p,
.gdx-gold-share-summary__signal-card p,
.gdx-gold-share-summary__metric p,
.gdx-gold-share-summary__level p {
    margin: 0;
    color: rgba(255, 255, 255, .73);
    font-size: 13px;
    line-height: 1.8;
}

.gdx-gold-share-summary__metrics,
.gdx-gold-share-summary__levels {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.gdx-gold-share-summary__metric,
.gdx-gold-share-summary__level {
    min-height: 148px;
    padding: 16px;
}

.gdx-gold-share-summary__metric strong,
.gdx-gold-share-summary__level strong {
    display: block;
    color: var(--share-text);
    font-size: clamp(20px, 2.3vw, 30px);
    line-height: 1.35;
    font-weight: 1000;
    margin-bottom: 10px;
}

.gdx-gold-share-summary__composer {
    padding: 18px;
    margin-bottom: 16px;
}

.gdx-gold-share-summary__composer-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.gdx-gold-share-summary__composer-head strong {
    color: var(--share-text);
    font-size: 22px;
    font-weight: 1000;
}

.gdx-gold-share-summary__template-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.gdx-gold-share-summary__template-tabs button {
    border: 1px solid rgba(255, 178, 46, .22);
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, .055);
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 900;
    transition: .2s ease;
}

.gdx-gold-share-summary__template-tabs button.is-active,
.gdx-gold-share-summary__template-tabs button:hover {
    color: #0d1017;
    background: linear-gradient(135deg, var(--share-gold), var(--share-gold-2));
}

.gdx-gold-share-summary__composer textarea {
    width: 100%;
    min-height: 300px;
    resize: vertical;
    border: 1px solid rgba(255, 178, 46, .18);
    border-radius: 18px;
    padding: 18px;
    background: rgba(0, 0, 0, .22);
    color: #fff7d6;
    font-size: 15px;
    line-height: 2;
    outline: none;
    direction: rtl;
}

.gdx-gold-share-summary__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.gdx-gold-share-summary__actions button:hover,
.gdx-share-card-btn:hover {
    transform: translateY(-2px);
    color: #0d1017;
}

.gdx-gold-share-summary__footer {
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .10);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
    line-height: 1.8;
    flex-wrap: wrap;
}

.gdx-gold-share-summary__footer b {
    color: var(--share-gold-2);
    font-weight: 1000;
}

.gdx-share-card-modal {
    position: fixed;
    inset: 0;
    z-index: 100500;
    display: none;
}

.gdx-share-card-modal.is-open {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 34px 24px;
    overflow: auto;
}

.gdx-share-card-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .76);
    backdrop-filter: blur(8px);
}

.gdx-share-card-modal__box {
    position: relative;
    width: min(940px, calc(100vw - 48px));
    max-height: none;
    overflow: visible;
    margin: 0 auto;
    padding: 14px;
    border-radius: 28px;
    border: 1px solid rgba(255, 178, 46, .24);
    background:
        radial-gradient(circle at top left, rgba(255, 178, 46, .10), transparent 34%),
        linear-gradient(180deg, rgba(17, 20, 29, .98), rgba(7, 9, 14, .99));
    box-shadow: 0 34px 90px rgba(0, 0, 0, .55);
    color: #fff;
}

.gdx-share-card-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.gdx-share-card-modal__head strong {
    display: block;
    color: #fff7d6;
    font-size: 18px;
    font-weight: 1000;
}

.gdx-share-card-modal__head span {
    display: block;
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
    margin-top: 4px;
}

.gdx-share-card-modal__head button {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 178, 46, .24);
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    color: #ffde4d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gdx-share-card-canvas-wrap {
    width: 100%;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 178, 46, .24);
    background: #0d1017;
}

.gdx-share-card-canvas {
    width: 100%;
    height: auto;
    display: block;
    background: #0d1017;
}

.gdx-share-card-modal__actions {
    position: relative;
    z-index: 2;
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

body.gdx-share-card-modal-open {
    overflow: hidden;
}

.gdx-share-card-btn {
    width: fit-content;
}

.gdx-share-card-btn:disabled {
    cursor: not-allowed;
    opacity: .78;
}

.gdx-share-card-btn--ghost {
    background: rgba(255, 255, 255, .075) !important;
    color: #fff7d6 !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    box-shadow: none !important;
}

@media (max-width: 1199px) {
    .gdx-gold-share-summary__head {
        display: grid;
    }

    .gdx-gold-share-summary__marketbar {
        justify-content: flex-start;
    }

    .gdx-gold-share-summary__metrics,
    .gdx-gold-share-summary__levels {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .gdx-gold-share-summary__overview {
        grid-template-columns: 1fr;
    }

    .gdx-gold-share-summary__composer-head {
        display: grid;
    }

    .gdx-gold-share-summary__template-tabs {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .gdx-gold-share-summary {
        border-radius: 22px;
        padding: 16px;
    }

    .gdx-gold-share-summary__head,
    .gdx-gold-share-summary__footer {
        display: grid;
        width: 100%;
        gap: 10px;
    }

    .gdx-gold-share-summary__marketbar {
        display: grid;
        width: 100%;
        gap: 10px;
    }

    .gdx-gold-share-summary__timeframes,
    .gdx-gold-share-summary__unit-switch,
    .gdx-gold-share-summary__chart-switch,
    .gdx-gold-share-summary__status,
    .gdx-gold-share-summary__actions button {
        width: 100%;
    }

    .gdx-gold-share-summary__timeframes {
        overflow-x: auto;
        justify-content: flex-start;
        scrollbar-width: thin;
    }

    .gdx-gold-share-summary__unit-switch button,
    .gdx-gold-share-summary__chart-switch button {
        flex: 1;
    }

    .gdx-gold-share-summary__chart-head {
        display: grid;
    }

    .gdx-gold-share-summary__chart-box {
        height: 300px;
    }

    .gdx-gold-share-summary__metrics,
    .gdx-gold-share-summary__levels {
        grid-template-columns: 1fr;
    }

    .gdx-gold-share-summary__actions {
        display: grid;
    }

    .gdx-share-card-modal.is-open {
        padding: 16px;
    }

    .gdx-share-card-modal__box {
        width: calc(100vw - 32px);
        border-radius: 22px;
    }

    .gdx-share-card-modal__actions {
        display: grid;
    }

    .gdx-share-card-btn {
        width: 100%;
    }
}