/* =====================================================================
   DBTraderz UI (matches the dbtraderz.com reference design)
   Light layout, navy tab bar, red news bar, AI scanner, live signals.
   ===================================================================== */
:root {
    --dp-navy: #041723;
    --dp-navy-2: #0b2a4a;
    --dp-blue: #113878;
    --dp-blue-2: #2056e1;
    --dp-mint: #ebfbf3;
    --dp-teal: #3aa9a7;
    --dp-teal-2: #4baeac;
    --dp-green: #16a34a;
    --dp-green-2: #3bcd7f;
    --dp-red: #eb3d3c;
    --dp-red-bar: #d91f26;
    --dp-purple: #7c3aed;
    --dp-orange: #fbab3a;
    --dp-yellow: #fed700;
    --dp-ink: #0f172a;
    --dp-muted: #64748b;
    --dp-line: #e5e7eb;
}

/* ---------- light page ---------- */
body.theme--light {
    --general-main-1: #ffffff;
    --general-section-1: #f6f8fb;
    --du-general-main-1: #ffffff;
    background: #fff;
}
body.theme--light .main-body,
body.theme--light .bot-dashboard,
body.theme--light .main,
body.theme--light .main__container,
body.theme--light .dc-tabs__content--main__tabs {
    background: #fff !important;
}

/* ---------- header ---------- */
body.theme--light .app-header {
    background: var(--dp-mint) !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}
body.theme--light .app-header .deriv-account-switcher__balance,
body.theme--light .app-header .deriv-account-switcher__balance span {
    color: #0f9d74 !important;
    font-weight: 700 !important;
}
body.theme--light .app-header .mobile-menu__toggle svg,
body.theme--light .app-header .mobile-menu__toggle path {
    fill: #0f172a !important;
}
.dp-hdr-extra {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 8px;
}
.dp-fx {
    display: inline-flex;
    align-items: center;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    font: 800 9px/1 Arial, sans-serif;
    cursor: pointer;
    user-select: none;
}
.dp-fx span {
    padding: 4px 5px;
    background: #e2e8f0;
    color: #64748b;
}
.dp-fx span.on {
    background: #1d4ed8;
    color: #fff;
}
.dp-phone {
    display: inline-flex;
    color: #2563eb;
}
.dp-cash {
    padding: 6px 14px;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(135deg, #8b5cf6, var(--dp-purple));
    color: #fff;
    font: 600 13px/1.2 Inter, 'Segoe UI', Roboto, Arial, sans-serif;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
    min-width: 76px;
    text-align: center;
    transition: transform 0.2s;
}
.dp-cash:hover {
    transform: translateY(-1px);
}
.dp-demo-badge {
    padding: 3px 8px;
    border-radius: 6px;
    background: #f59e0b;
    color: #111;
    font: 800 10px/1.2 Arial, sans-serif;
    letter-spacing: 0.5px;
}
.dp-kes {
    font: 600 11px/1 Inter, Arial, sans-serif;
    color: #0f9d74;
    white-space: nowrap;
}
/* hide the old green deposit button (replaced by the purple pill) */
.app-header .deriv-wrapper__right > div > .dc-btn--primary,
.app-header .manage-funds-button {
    display: none !important;
}

/* ---------- red news bar ---------- */
#dp-marquee {
    position: relative;
    display: flex;
    align-items: center;
    height: 30px;
    background: var(--dp-red-bar);
    color: #fff;
    overflow: hidden;
    font: 800 12.5px/30px Inter, 'Segoe UI', Roboto, Arial, sans-serif;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
#dp-marquee .dp-mq-track {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: dpMarquee 26s linear infinite;
}
@keyframes dpMarquee {
    to {
        transform: translateX(-100%);
    }
}
#dp-marquee button {
    position: absolute;
    right: 6px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid #fff;
    background: var(--dp-red-bar);
    color: #fff;
    font: 700 12px/16px Arial, sans-serif;
    padding: 0;
    cursor: pointer;
}

/* ---------- navy tab bar ---------- */
.dc-tabs--main__tabs .dc-tabs__list--main__tabs,
.dc-tabs__list--header--main__tabs {
    background: var(--dp-navy) !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
    box-shadow: none !important;
}
.dc-tabs__list--main__tabs {
    overflow-x: auto !important;
    scrollbar-width: none;
}
.dc-tabs__list--main__tabs::-webkit-scrollbar {
    display: none;
}
.dc-tabs__item--main__tabs,
.dp-tab {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    height: 46px !important;
    padding: 0 18px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #fff !important;
    font: 700 15px/1 Inter, 'Segoe UI', Roboto, Arial, sans-serif !important;
    box-shadow: none !important;
    white-space: nowrap !important;
    cursor: pointer;
}
.dc-tabs__item--main__tabs *,
.dp-tab * {
    color: #fff !important;
}
.dc-tabs__item--main__tabs svg,
.dc-tabs__item--main__tabs svg *,
.dp-tab svg,
.dp-tab svg * {
    fill: none;
    stroke: #fff !important;
}
.dc-tabs__item--main__tabs svg path[fill]:not([fill='none']),
.dc-tabs__item--main__tabs svg rect[fill]:not([fill='none']) {
    fill: #fff !important;
    stroke: none !important;
}
.dc-tabs__item--main__tabs svg {
    width: 22px !important;
    height: 22px !important;
}
.dc-tabs__active--main__tabs,
.dp-tab.dp-tab--on {
    background: var(--dp-blue) !important;
}
body.dp-own-tab .dc-tabs__active--main__tabs {
    background: transparent !important;
}
.dc-tabs__active-line--top {
    display: none !important;
}
.dc-tabs__item--main__tabs:hover,
.dp-tab:hover {
    background: rgba(255, 255, 255, 0.08) !important;
}

/* ---------- run panel / disclaimer ---------- */
.risk-disclaimer-btn {
    background: var(--dp-yellow) !important;
    color: #111 !important;
    border-radius: 6px !important;
    font-weight: 800 !important;
}
#db-animation__run-button,
.animation__button--run {
    background: var(--dp-teal-2) !important;
    border-color: var(--dp-teal-2) !important;
    color: #fff !important;
}
#db-animation__stop-button,
.animation__button--stop {
    background: #e6334a !important;
    border-color: #e6334a !important;
    color: #fff !important;
}
.dc-btn--primary,
.auth-actions .dc-btn--primary {
    background: var(--dp-blue) !important;
}

/* ---------- dashboard ---------- */
body.dp-dash-ready .tab__dashboard .quick-panel,
body.dp-dash-ready .tab__dashboard .tab__dashboard__content > .quick-panel {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
#dp-dash {
    max-width: 760px;
    margin: 0 auto;
    padding: 14px 12px 120px;
    font-family: Inter, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--dp-ink);
}
.dp-search {
    display: flex;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
    background: #fff;
}
.dp-search select {
    flex: none;
    width: 92px;
    border: 0;
    border-right: 1px solid var(--dp-line);
    background: #f8fafc;
    padding: 0 10px;
    font: 500 15px Inter, Arial, sans-serif;
    color: var(--dp-ink);
}
.dp-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    padding: 0 14px;
    font: 15px Inter, Arial, sans-serif;
    outline: none;
}
.dp-search button {
    flex: none;
    width: 62px;
    border: 0;
    background: var(--dp-blue);
    color: #fff;
    cursor: pointer;
}
.dp-results {
    margin-top: 8px;
    border: 1px solid var(--dp-line);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}
.dp-results[hidden] {
    display: none;
}
.dp-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 14px;
    border-top: 1px solid #f1f5f9;
    cursor: pointer;
}
.dp-result:first-child {
    border-top: 0;
}
.dp-result:hover {
    background: #f8fafc;
}
.dp-result b {
    font-size: 14.5px;
}
.dp-result small {
    display: block;
    color: var(--dp-muted);
    font-size: 12px;
    margin-top: 2px;
}
.dp-result span {
    flex: none;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: var(--dp-teal-2);
    padding: 4px 9px;
    border-radius: 99px;
}
.dp-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 168px));
    justify-content: center;
    gap: 10px;
    margin: 30px 0 26px;
}
.dp-tile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 12px;
    border-radius: 8px;
    border: 1px solid #edf0f4;
    border-left: 4px solid var(--c, var(--dp-blue));
    background: #fff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
    font: 700 15px Inter, Arial, sans-serif;
    color: var(--dp-ink);
    cursor: pointer;
    text-align: left;
}
.dp-tile:hover {
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}
.dp-tile i {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--bg, #e0ecff);
    font-style: normal;
    font-size: 18px;
}
.dp-sig {
    position: relative;
    padding: 20px 16px 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, #f0f7f6, #f8fbfb);
    border: 1px solid #e3efee;
    overflow: hidden;
}
.dp-sig::after {
    content: '';
    position: absolute;
    right: -40px;
    top: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(58, 169, 167, 0.12), transparent 70%);
}
.dp-sig h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -0.4px;
}
.dp-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--dp-teal);
    box-shadow: 0 0 0 4px rgba(58, 169, 167, 0.2);
    animation: dpPulse 1.6s ease-in-out infinite;
}
@keyframes dpPulse {
    50% {
        box-shadow: 0 0 0 8px rgba(58, 169, 167, 0.05);
    }
}
.dp-sig-sub {
    margin: 6px 0 14px;
    color: var(--dp-muted);
    font-size: 14.5px;
}
.dp-sig-empty {
    padding: 26px 22px;
    border-radius: 12px;
    background: #fff;
    text-align: left;
    color: var(--dp-muted);
}
.dp-sig-empty b {
    display: block;
    margin: 8px 0 4px;
    color: var(--dp-ink);
    font-size: 17px;
}
.dp-card {
    margin-bottom: 14px;
    padding: 16px 16px 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #f3d4d4;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}
.dp-card--up {
    border-color: #cfeee0;
}
.dp-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dp-rank {
    color: #d4a017;
    font-weight: 800;
    font-size: 15px;
}
.dp-badge {
    padding: 4px 11px;
    border-radius: 99px;
    background: #e3f4f2;
    color: var(--dp-teal);
    font-size: 13px;
    font-weight: 700;
}
.dp-card h3 {
    margin: 12px 0 14px;
    font-size: 18px;
    font-weight: 700;
}
.dp-conf {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}
.dp-conf b {
    font-weight: 700;
}
.dp-bar {
    height: 6px;
    margin: 7px 0 14px;
    border-radius: 99px;
    background: #eef2f6;
    overflow: hidden;
}
.dp-bar i {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: var(--dp-green-2);
    transition: width 0.6s;
}
.dp-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.dp-stats div {
    display: flex;
    justify-content: space-between;
    padding: 8px 11px;
    border-radius: 6px;
    background: #f6f7f9;
    color: #6b7280;
    font-size: 14px;
}
.dp-stats b {
    color: var(--dp-ink);
}
.dp-more {
    display: block;
    margin: 10px auto 2px;
    border: 0;
    background: none;
    color: #2563eb;
    font: 500 14.5px Inter, Arial, sans-serif;
    cursor: pointer;
}
.dp-details {
    margin-top: 6px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 13px;
    color: #475569;
    line-height: 1.7;
}
.dp-details[hidden] {
    display: none;
}
.dp-digits {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.dp-digits span {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    display: grid;
    place-items: center;
    background: #e2e8f0;
    font-weight: 700;
    font-size: 12px;
    color: #0f172a;
}
.dp-load {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    height: 48px;
    border: 0;
    border-radius: 10px;
    background: var(--dp-teal-2);
    color: #fff;
    font: 700 17px Inter, Arial, sans-serif;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(75, 174, 172, 0.3);
}
.dp-load--fall {
    background: var(--dp-red);
    box-shadow: 0 6px 14px rgba(235, 61, 60, 0.28);
}
.dp-load--rise {
    background: var(--dp-green);
}
.dp-note {
    margin-top: 8px;
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
}

/* ---------- AI orb ---------- */
#dp-ai {
    position: fixed;
    right: 14px;
    bottom: 84px;
    z-index: 9990;
    width: 66px;
    height: 66px;
    border: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #a78bfa, #6d28d9 60%, #4c1d95);
    color: #fff;
    font: 900 24px/66px Arial, sans-serif;
    cursor: pointer;
    box-shadow: 0 0 0 7px rgba(139, 92, 246, 0.18), 0 0 0 16px rgba(139, 92, 246, 0.08), 0 10px 26px rgba(76, 29, 149, 0.45);
    animation: dpOrb 2.4s ease-in-out infinite;
}
#dp-ai::after {
    content: '';
    position: absolute;
    right: 6px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid #fff;
}
@keyframes dpOrb {
    50% {
        box-shadow: 0 0 0 11px rgba(139, 92, 246, 0.14), 0 0 0 22px rgba(139, 92, 246, 0.05), 0 10px 26px rgba(76, 29, 149, 0.45);
    }
}
#dp-ai-tip {
    position: fixed;
    right: 26px;
    bottom: 160px;
    z-index: 9990;
    width: 230px;
    display: flex;
    gap: 10px;
    padding: 14px;
    border-radius: 12px;
    background: #1e2340;
    color: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    font: 13.5px/1.45 Inter, Arial, sans-serif;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.3s;
}
#dp-ai-tip[hidden] {
    display: none;
}
#dp-ai-tip::after {
    content: '';
    position: absolute;
    right: 34px;
    bottom: -8px;
    border: 8px solid transparent;
    border-bottom: 0;
    border-top-color: #1e2340;
}
#dp-ai-tip b {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

/* ---------- modal (Entry Scanner / parameters) ---------- */
.dp-modal-bg {
    position: fixed;
    inset: 0;
    z-index: 99990;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background: rgba(2, 6, 23, 0.55);
    backdrop-filter: blur(2px);
}
.dp-modal {
    width: 100%;
    max-width: 470px;
    max-height: calc(100vh - 28px);
    overflow-y: auto;
    border-radius: 18px;
    background: #f1f5f9;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
    font-family: Inter, 'Segoe UI', Roboto, Arial, sans-serif;
    color: var(--dp-ink);
}
.dp-m-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 22px 20px;
    background: linear-gradient(135deg, #1b2d45, #213a63 60%, #2c4a7a);
    color: #fff;
}
.dp-m-head h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.3px;
}
.dp-m-head button {
    border: 0;
    background: none;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}
.dp-m-body {
    padding: 14px;
}
.dp-hero {
    position: relative;
    padding: 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1b314c, #1e40af 70%, #2856c8);
    color: #fff;
    overflow: hidden;
}
.dp-hero::after {
    content: '';
    position: absolute;
    right: 40px;
    bottom: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.25);
    filter: blur(6px);
}
.dp-hero small {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 1.2px;
}
.dp-hero h4 {
    margin: 10px 0 4px;
    font-size: 21px;
    letter-spacing: -0.5px;
}
.dp-hero p {
    margin: 0;
    font-size: 13px;
    opacity: 0.85;
}
.dp-seg {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin: 10px 0;
    padding: 5px;
    border-radius: 14px;
    background: #fff;
}
.dp-seg button {
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #64748b;
    font: 700 14px Inter, Arial, sans-serif;
    cursor: pointer;
}
.dp-seg button.on {
    background: linear-gradient(90deg, var(--dp-blue-2), #60a5fa);
    color: #fff;
}
.dp-box {
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 14px;
    background: #fff;
}
.dp-grid {
    display: grid;
    gap: 8px;
}
.dp-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}
.dp-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}
.dp-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}
.dp-f {
    padding: 9px 11px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    min-width: 0;
}
.dp-f label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: #64748b;
    text-transform: uppercase;
}
.dp-f b,
.dp-f input,
.dp-f select {
    display: block;
    width: 100%;
    margin-top: 4px;
    border: 0;
    padding: 0;
    background: none;
    font: 700 15px Inter, Arial, sans-serif;
    color: var(--dp-ink);
    outline: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dp-f--hl {
    border-color: #93c5fd;
    background: #f8fbff;
}
.dp-prog {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #475569;
}
.dp-prog b {
    color: var(--dp-ink);
}
.dp-prog-bar {
    height: 8px;
    margin-top: 10px;
    border-radius: 99px;
    background: #e2e8f0;
    overflow: hidden;
}
.dp-prog-bar i {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 99px;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    transition: width 0.3s;
}
.dp-msg {
    margin-bottom: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient(90deg, #eef4ff, #f8fbff);
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}
.dp-heat {
    border-left: 3px solid var(--dp-blue-2);
    padding: 4px 10px;
    font-size: 13px;
    color: #475569;
    line-height: 1.55;
}
.dp-best {
    margin-bottom: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #15803d;
    font-size: 14px;
    font-weight: 700;
}
.dp-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.dp-btn {
    height: 48px;
    border: 0;
    border-radius: 12px;
    font: 700 15px Inter, Arial, sans-serif;
    cursor: pointer;
}
.dp-btn:disabled {
    opacity: 0.55;
    cursor: default;
}
.dp-btn--blue {
    background: linear-gradient(90deg, #6d8df5, #93c5fd);
    color: #fff;
}
.dp-btn--ghost {
    background: #e2e8f0;
    color: #334155;
}
.dp-btn--green {
    background: linear-gradient(135deg, #0f9d77, #10b981);
    color: #fff;
}
.dp-btn--primary {
    background: linear-gradient(90deg, #1d4ed8, #2563eb);
    color: #fff;
}
.dp-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 11px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-weight: 600;
    font-size: 14px;
}
.dp-toggle input {
    width: 44px;
    height: 24px;
    accent-color: var(--dp-blue-2);
}
.dp-fine {
    margin: 8px 2px 0;
    font-size: 11.5px;
    color: #94a3b8;
    line-height: 1.5;
}
.dp-acct {
    margin-bottom: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    font-size: 13px;
    color: #9a3412;
}

/* ---------- own tabs (Risk Calculator / Manual Trader) ---------- */
#dp-panel {
    position: relative;
    background: #fff;
    min-height: calc(100vh - 140px);
    padding: 16px 12px 130px;
    font-family: Inter, 'Segoe UI', Roboto, Arial, sans-serif;
    color: var(--dp-ink);
}
#dp-panel[hidden] {
    display: none;
}
body.dp-own-tab .dc-tabs__content--main__tabs > *:not(#dp-panel) {
    display: none !important;
}
.dp-tool {
    max-width: 760px;
    margin: 0 auto;
}
.dp-tool h2 {
    margin: 4px 0 4px;
    font-size: 23px;
}
.dp-tool > p {
    margin: 0 0 14px;
    color: var(--dp-muted);
    font-size: 14px;
}
.dp-tool .dp-box {
    border: 1px solid #edf0f4;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.dp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}
.dp-table th,
.dp-table td {
    padding: 8px 6px;
    border-bottom: 1px solid #f1f5f9;
    text-align: right;
}
.dp-table th:first-child,
.dp-table td:first-child {
    text-align: left;
}
.dp-table th {
    color: #64748b;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
}
.dp-kpis {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.dp-kpi {
    padding: 12px;
    border-radius: 12px;
    background: #f8fafc;
}
.dp-kpi small {
    display: block;
    color: #64748b;
    font-size: 12px;
}
.dp-kpi b {
    font-size: 19px;
}
.dp-kpi.bad b {
    color: #dc2626;
}
.dp-kpi.good b {
    color: #16a34a;
}
.dp-ticks {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
.dp-ticks span {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    font-weight: 800;
    background: #e2e8f0;
}
.dp-ticks span.last {
    background: var(--dp-blue-2);
    color: #fff;
}
.dp-log {
    max-height: 260px;
    overflow-y: auto;
    font-size: 13px;
}
.dp-log div {
    display: flex;
    justify-content: space-between;
    padding: 8px 4px;
    border-bottom: 1px solid #f1f5f9;
}
.dp-win {
    color: #16a34a;
    font-weight: 700;
}
.dp-loss {
    color: #dc2626;
    font-weight: 700;
}
.dp-pending {
    color: #64748b;
}
@media (min-width: 900px) {
    .dp-tiles {
        grid-template-columns: repeat(4, minmax(0, 168px));
    }
    .dp-kpis {
        grid-template-columns: repeat(4, 1fr);
    }
    #dp-ai {
        bottom: 96px;
        right: 24px;
    }
}

/* ---------- dark theme support for the new pieces ---------- */
body.theme--dark #dp-dash,
body.theme--dark #dp-panel {
    color: #e2e8f0;
}
body.theme--dark #dp-panel,
body.theme--dark .dp-tile,
body.theme--dark .dp-card,
body.theme--dark .dp-sig-empty,
body.theme--dark .dp-search,
body.theme--dark .dp-results,
body.theme--dark .dp-tool .dp-box {
    background: #0f1a2e;
    border-color: #22345a;
    color: #e2e8f0;
}
body.theme--dark .dp-sig {
    background: #0b1424;
    border-color: #1c2a45;
}
body.theme--dark .dp-stats div,
body.theme--dark .dp-kpi,
body.theme--dark .dp-details {
    background: #16233b;
    color: #94a3b8;
}
body.theme--dark .dp-stats b,
body.theme--dark .dp-card h3,
body.theme--dark .dp-tile,
body.theme--dark .dp-search input,
body.theme--dark .dp-search select {
    color: #e2e8f0;
    background: transparent;
}

/* ---------- fixes: mobile fit, buttons, checkboxes ---------- */
body.dp-dash-ready .tab__dashboard__content {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}
#dp-dash,
#dp-dash * {
    box-sizing: border-box;
}
#dp-dash {
    width: 100%;
    min-width: 0;
}
.dp-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 900px) {
    .dp-tiles {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-width: 720px;
    }
}
.dp-tile {
    min-width: 0;
    font-size: 14.5px;
    line-height: 1.2;
}
.dp-seg button,
.dp-btn,
.dp-load,
.dp-search button,
.dp-tile {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}
.dp-tile {
    justify-content: flex-start !important;
    text-align: left !important;
}
.dp-modal input[type='checkbox'],
.dp-tool input[type='checkbox'] {
    -webkit-appearance: auto !important;
    appearance: auto !important;
    display: inline-block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    flex: none;
}
.dp-f b {
    font-size: 15px;
}
@media (max-width: 520px) {
    .dp-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .dp-m-body {
        padding: 10px;
    }
    .dp-f label {
        font-size: 10.5px;
        letter-spacing: 0.3px;
    }
    .app-header--mobile .app-header__logo {
        display: none !important;
    }
    .dp-hdr-extra {
        gap: 6px;
        margin-right: 4px;
    }
    .dp-cash {
        padding: 5px 11px;
        min-width: 70px;
        font-size: 12.5px;
    }
    .dp-tool .dp-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}
/* own tabs: hide the Bot Builder canvas that the app keeps on top on mobile */
body.dp-own-tab .bot-builder,
body.dp-own-tab .bot-builder--active {
    display: none !important;
}
body.dp-own-tab .dc-tabs__content--main__tabs {
    display: block !important;
}
/* leftover "God Mode Active" label from the old RNG build showed on every run */
.god-mode,
.god-mode__text {
    display: none !important;
}
/* desktop: keep the tabs clear of the Run controls on the right, and hide the old deposit button */
.app-header .deposit-button {
    display: none !important;
}
@media (min-width: 768px) {
    ul.dc-tabs__list--main__tabs {
        max-width: calc(100vw - 370px) !important;
    }
    .dc-tabs__item--main__tabs,
    .dp-tab {
        padding: 0 13px !important;
        font-size: 14px !important;
        gap: 7px !important;
    }
    .dc-tabs__item--main__tabs svg,
    .dp-tab svg {
        width: 18px !important;
        height: 18px !important;
    }
    .dc-tabs__list--header--main__tabs {
        background: var(--dp-navy) !important;
    }
    .main__run-strategy-wrapper {
        z-index: 3;
    }
}
/* the old RNG animated gradient was painted over the tab bar: the reference design uses solid navy */
ul.dc-tabs__list--main__tabs::before,
ul.dc-tabs__list--main__tabs::after {
    display: none !important;
}
.dp-tab {
    position: relative !important;
    z-index: 1;
}
/* KSH display: hide the USD figures and show the converted value in their place */
.deriv-account-switcher__balance.dp-bal-kes > span:not(.dp-kes-bal) {
    display: none !important;
}
.dp-kes-bal {
    color: #0f9d74 !important;
    font-weight: 700 !important;
    white-space: nowrap;
}
/* AI orb: text exactly centred, draggable */
#dp-ai {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 1 !important;
    text-align: center !important;
    letter-spacing: 0.5px;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
}
#dp-ai.dp-ai--drag {
    cursor: grabbing;
    animation: none;
    transform: scale(1.06);
}

/* =====================================================================
   Tools: Pro AI (dark), Dual Edge / Analysis (light), Bulk Trader
   ===================================================================== */
#dp-panel.dpx-dark {
    background: radial-gradient(120% 60% at 0% 0%, #1e1b4b 0%, #0b1530 45%, #070d1f 100%);
    color: #e2e8f0;
}
.dpx-wrap {
    max-width: 760px;
    margin: 0 auto;
    font-family: Inter, 'Segoe UI', Roboto, Arial, sans-serif;
}
.dpx-kicker {
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 2.4px;
    color: #c7d2fe;
}
.dpx-h {
    margin: 4px 0 8px;
    font-size: 30px;
    font-weight: 500;
    color: #fff;
}
.dpx-lead {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.5;
    color: #cbd5e1;
}
.dpx-strat {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    min-height: 150px;
    margin-bottom: 12px;
    padding: 14px;
    border-radius: 6px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.6));
    color: #fff;
    text-align: left;
    position: relative;
    cursor: pointer;
    font-family: inherit;
}
.dpx-strat:hover,
.dpx-strat:focus {
    background: linear-gradient(180deg, #1e4f73, #16507a);
    border-color: #38bdf8;
}
.dpx-strat i {
    flex: none;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #6366f1, #ec4899);
}
.dpx-strat b {
    display: block;
    font-size: 19px;
    font-weight: 600;
}
.dpx-strat small {
    display: block;
    margin-top: 8px;
    font-size: 14.5px;
    color: #cbd5e1;
}
.dpx-strat em {
    position: absolute;
    right: 14px;
    bottom: 12px;
    font-style: normal;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.6px;
    color: #7dd3fc;
}
.dpx-card {
    padding: 12px;
    border-radius: 10px;
    background: rgba(8, 15, 35, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.16);
}
.dpx-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}
.dpx-back {
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(30, 41, 59, 0.6);
    color: #fff;
    font: 600 13px Inter, Arial, sans-serif;
    cursor: pointer;
}
.dpx-tt {
    text-align: right;
}
.dpx-tt small {
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #a5b4fc;
}
.dpx-tt b {
    font-size: 22px;
    font-weight: 500;
    color: #fff;
}
.dpx-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}
.dpx-grid2 label {
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
}
.dpx-grid2 input,
.dpx-grid2 select {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 6px;
    height: 44px;
    padding: 0 10px;
    border-radius: 6px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: #0b1730;
    color: #fff;
    font: 600 15px Inter, Arial, sans-serif;
}
.dpx-status {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.6);
}
.dpx-status i {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #93c5fd;
    border: 1px solid rgba(147, 197, 253, 0.3);
    background: rgba(30, 58, 138, 0.25);
}
.dpx-status i.on {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.15);
    animation: dpPulse 1.4s ease-in-out infinite;
}
.dpx-status b {
    display: block;
    font-size: 17px;
    color: #fff;
}
.dpx-status small {
    font-size: 13.5px;
    color: #cbd5e1;
}
.dpx-cnt {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 10px;
}
.dpx-cnt div {
    display: flex;
    justify-content: space-between;
    padding: 9px 10px;
    border-radius: 4px;
    background: rgba(30, 41, 59, 0.55);
    color: #cbd5e1;
    font-size: 13.5px;
}
.dpx-cnt b {
    color: #fff;
}
.dpx-go {
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    color: #fff;
    font: 700 16.5px Inter, Arial, sans-serif;
    cursor: pointer;
    margin-bottom: 10px;
}
.dpx-go--stop {
    background: linear-gradient(90deg, #dc2626, #f97316);
}
#dp-panel.dpx-dark .dp-acct {
    background: rgba(251, 146, 60, 0.1);
    border-color: rgba(251, 146, 60, 0.35);
    color: #fed7aa;
}
.dpx-feedhead small {
    display: block;
    font-weight: 800;
    letter-spacing: 1.6px;
    color: #93c5fd;
    font-size: 12px;
}
.dpx-feedhead b {
    display: block;
    margin: 4px 0 8px;
    font-size: 22px;
    font-weight: 500;
    color: #fff;
}
.dpx-feedrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    margin-bottom: 4px;
    border-radius: 6px;
    background: rgba(30, 41, 59, 0.45);
    font-size: 13px;
    color: #e2e8f0;
}
.dpx-feedrow.hit {
    background: rgba(37, 99, 235, 0.35);
    outline: 1px solid #60a5fa;
}
.dpx-feedrow em {
    font-style: normal;
    font-weight: 700;
    color: #a5b4fc;
    min-width: 46px;
    text-align: right;
}
.dpx-dg {
    display: flex;
    gap: 3px;
}
.dpx-dg i {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: grid;
    place-items: center;
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    background: rgba(148, 163, 184, 0.2);
}
.dpx-dg i.m {
    background: #2563eb;
}
.dpx-res {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin: 12px 0 8px;
}
.dpx-res div {
    padding: 9px;
    border-radius: 6px;
    background: rgba(30, 41, 59, 0.55);
    font-size: 13px;
    color: #cbd5e1;
}
.dpx-res b {
    display: block;
    font-size: 18px;
}
.dpx-log {
    max-height: 300px;
    overflow-y: auto;
}
.dpx-log-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 4px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    font-size: 13px;
}
.dpx-log-row small {
    display: block;
    opacity: 0.7;
    font-size: 11.5px;
    margin-top: 2px;
}
.dpx-log-empty {
    padding: 10px 4px;
    font-size: 13px;
    opacity: 0.7;
}
.dpx-ticker {
    position: sticky;
    bottom: 0;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    margin-top: 10px;
    padding: 6px 10px;
    background: #020617;
    color: #e2e8f0;
    font: 700 13px Inter, Arial, sans-serif;
    white-space: nowrap;
}
.dpx-ticker b {
    color: #fca5a5;
}
.dpx-ticker[hidden] {
    display: none;
}
/* ---- light tools (Dual Edge / Analysis) ---- */
.dpx-light {
    color: #0f172a;
}
.dpx-chips {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}
.dpx-chips button {
    padding: 7px 14px;
    border-radius: 99px;
    border: 1px solid #d1d5db;
    background: #fff;
    font: 500 13px Inter, Arial, sans-serif;
    cursor: pointer;
}
.dpx-chips button.on {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}
.dpx-box {
    margin-bottom: 10px;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
}
.dpx-box h3 {
    margin: 0;
    font-size: 21px;
    font-weight: 500;
}
.dpx-box h4 {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 500;
}
.dpx-sub {
    margin: 4px 0 10px;
    font-size: 12.5px;
    color: #6b7280;
}
.dpx-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.dpx-pills span {
    padding: 5px 11px;
    border-radius: 99px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
    color: #374151;
}
.dpx-pills span.ok {
    color: #0f9d74;
}
.dpx-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.dpx-stats div {
    font-size: 15px;
    color: #374151;
}
.dpx-stats b {
    display: block;
    margin-top: 4px;
    font-size: 26px;
    font-weight: 500;
    color: #0f172a;
}
.dpx-stats b.dp-win {
    color: #0f9d74;
}
.dpx-stats b.dp-loss {
    color: #dc2626;
}
.dpx-form label {
    display: block;
    margin-bottom: 10px;
    font-size: 14.5px;
    color: #374151;
}
.dpx-form label[hidden] {
    display: none;
}
.dpx-form input,
.dpx-form select {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 6px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
    font: 13.5px Inter, Arial, sans-serif;
    color: #0f172a;
}
.dpx-form .dpx-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dpx-form .dpx-switch input {
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    -webkit-appearance: auto !important;
    appearance: auto !important;
    opacity: 1 !important;
    position: static !important;
    display: inline-block !important;
}
.dpx-mode {
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 8px;
    background: #e8eefb;
    font-size: 13.5px;
    color: #334155;
}
.dpx-mode b {
    margin-right: 8px;
    color: #0f172a;
}
.dpx-start {
    width: 100%;
    height: 42px;
    margin-bottom: 12px;
    border: 0;
    border-radius: 6px;
    background: #1d4ed8;
    color: #fff;
    font: 700 14px Inter, Arial, sans-serif;
    text-align: left;
    padding: 0 18px;
    cursor: pointer;
}
.dpx-start.stop {
    background: #dc2626;
}
.dpx-how b {
    font-size: 17px;
    font-weight: 500;
}
.dpx-how p {
    margin: 6px 0 10px 20px;
    font-size: 13px;
    line-height: 1.45;
    color: #475569;
}
.dpx-light .dpx-log-row {
    border-bottom-color: #f1f5f9;
}
.dpx-link {
    border: 0;
    background: none;
    color: #2563eb;
    font: 600 13px Inter, Arial, sans-serif;
    cursor: pointer;
}
/* ---- Analysis Tool ---- */
.dpx-subtabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 8px;
    border-bottom: 4px solid #e5e7eb;
    margin-bottom: 10px;
    scrollbar-width: thin;
}
.dpx-subtabs button {
    flex: none;
    padding: 12px 14px;
    border-radius: 3px;
    border: 1px solid #e5e7eb;
    background: #fff;
    font: 700 11.5px Inter, Arial, sans-serif;
    color: #1e293b;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.08);
    cursor: pointer;
}
.dpx-subtabs button.on {
    background: linear-gradient(180deg, #3b82f6, #2563eb);
    color: #fff;
    border-color: #2563eb;
}
.dpx-cfgrow {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}
.dpx-cfg {
    padding: 8px 14px;
    border-radius: 6px;
    border: 0;
    background: linear-gradient(180deg, #2563eb, #1d4ed8);
    color: #fff;
    font: 700 12.5px Inter, Arial, sans-serif;
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.3);
    cursor: pointer;
}
.dpx-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.dpx-toolbar button {
    height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    font: 600 15px Inter, Arial, sans-serif;
    color: #fff;
    cursor: pointer;
}
.dpx-we {
    background: linear-gradient(90deg, #f87171, #94a3b8);
    color: #111 !important;
}
.dpx-la {
    background: linear-gradient(180deg, #3b82f6, #2563eb);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}
.dpx-i {
    width: 34px;
    height: 34px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: #6b7280;
}
.dpx-toolbar span {
    margin-left: auto;
    font-size: 13px;
    color: #cbd5e1;
}
.dpx-toolbar span.on {
    color: #16a34a;
    font-weight: 700;
}
.dpx-lbl {
    display: block;
    margin: 4px 0 8px;
    font-size: 18px;
    font-weight: 500;
}
.dpx-sel,
.dpx-ouh select {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: #fff;
    font: 16px Inter, Arial, sans-serif;
}
.dpx-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
    padding: 22px 20px;
    border-radius: 8px;
    background: #f1f5f9;
}
.dpx-price b {
    font-size: 27px;
    font-weight: 600;
}
.dpx-price em {
    font-style: normal;
    font-size: 34px;
    font-weight: 600;
    color: #2563eb;
}
.dpx-win {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0 12px;
    font-size: 18px;
}
.dpx-win input {
    width: 110px;
    height: 44px;
    padding: 0 10px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    font: 16px Inter, Arial, sans-serif;
}
.dpx-win small {
    color: #6b7280;
    font-size: 14px;
}
.dpx-dhead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}
.dpx-dhead em {
    font-style: normal;
    padding: 6px 10px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #6b7280;
    font-size: 15px;
}
.dpx-circles {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px 8px;
    margin: 22px 0 10px;
    justify-items: center;
}
.dpx-c {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #0f172a;
    line-height: 1.1;
}
.dpx-c b {
    font-size: 19px;
    font-weight: 600;
}
.dpx-c small {
    font-size: 11px;
    opacity: 0.85;
}
.dpx-c.g {
    background: #16a34a;
    color: #fff;
    border-color: #16a34a;
}
.dpx-c.b {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}
.dpx-c.r {
    background: #dc2626;
    color: #fff;
    border-color: #dc2626;
}
.dpx-c.o {
    background: #f59e0b;
    color: #fff;
    border-color: #f59e0b;
}
.dpx-c.cur {
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px #2563eb;
}
.dpx-tri {
    position: absolute;
    top: -22px;
    color: #8b5cf6;
    font-size: 16px;
}
.dpx-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 14px;
    font-size: 13px;
    color: #64748b;
}
.dpx-legend i {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: -1px;
}
.dpx-legend i.g {
    background: #16a34a;
}
.dpx-legend i.b {
    background: #2563eb;
}
.dpx-legend i.r {
    background: #dc2626;
}
.dpx-legend i.o {
    background: #f59e0b;
}
.dpx-bar {
    margin-bottom: 10px;
    padding: 14px 20px;
    border-radius: 8px;
    background: #f8fafc;
    text-align: center;
}
.dpx-bar span {
    display: block;
    font-size: 18px;
    font-weight: 500;
}
.dpx-bar b {
    display: block;
    margin: 6px 0 10px;
    font-size: 22px;
    font-weight: 600;
}
.dpx-bar b small {
    font-size: 16px;
    font-weight: 400;
    color: #64748b;
}
.dpx-bar div {
    height: 8px;
    border-radius: 99px;
    background: #e5e7eb;
    overflow: hidden;
}
.dpx-bar i {
    display: block;
    height: 100%;
    border-radius: 99px;
    transition: width 0.4s;
}
.dpx-bar i.g {
    background: #16a34a;
}
.dpx-bar i.r {
    background: #ef4444;
}
.dpx-bar i.k {
    background: #64748b;
}
.dpx-bar i.b {
    background: #2563eb;
}
.dpx-ouh {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}
.dpx-ouh h4 {
    margin: 0;
    white-space: nowrap;
}
.dpx-ouh select {
    flex: 1;
}
.dpx-rec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0;
    font-size: 18px;
}
.dpx-more {
    padding: 6px 12px;
    border: 0;
    border-radius: 4px;
    background: #3b82f6;
    color: #fff;
    font: 600 14px Inter, Arial, sans-serif;
    cursor: pointer;
}
.dpx-chiprow {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
.dpx-chiprow i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-style: normal;
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    background: #64748b;
}
.dpx-chiprow i.g {
    background: #16a34a;
}
.dpx-chiprow i.r {
    background: #ef4444;
}
.dpx-chiprow i.k {
    background: #6b7280;
}
.dpx-qb {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.dpx-qb button {
    height: 42px;
    border: 0;
    border-radius: 8px;
    background: #0f9d77;
    color: #fff;
    font: 700 14px Inter, Arial, sans-serif;
    cursor: pointer;
}
.dpx-qb button + button {
    background: #dc2626;
}
.dpx-tablewrap {
    overflow-x: auto;
}
.dp-tab-replaced.dp-tab--on {
    background: var(--dp-blue) !important;
}
@media (max-width: 420px) {
    .dpx-c {
        width: 54px;
        height: 54px;
    }
    .dpx-toolbar button {
        padding: 0 12px;
        font-size: 14px;
    }
}
.dpx-qb button,
.dpx-toolbar button,
.dpx-more,
.dpx-cfg,
.dpx-chips button,
.dpx-subtabs button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}
.dpx-qb button {
    display: flex !important;
}
.dpx-i {
    color: #fff !important;
    font: 800 16px/1 Georgia, serif !important;
}
.dpx-chiprow i {
    width: 28px;
    height: 28px;
    font-size: 12px;
}
.dpx-chiprow {
    gap: 5px;
}

/* ===== tab bar v3: order like the reference, D-Circles & Printer AI removed, blue outline icons ===== */
#id-d-circles,
#id-rng-insights {
    display: none !important;
}
ul.dc-tabs__list--main__tabs > li {
    order: 60;
}
#id-dbot-dashboard {
    order: 1 !important;
}
#id-bot-builder {
    order: 2 !important;
}
#id-free-bots {
    order: 3 !important;
}
#dp-tab-bulk {
    order: 4 !important;
}
#dp-tab-proai {
    order: 5 !important;
}
#dp-tab-dual {
    order: 6 !important;
}
#id-analysis-tool {
    order: 7 !important;
}
#id-copy-trading {
    order: 8 !important;
}
#id-charts {
    order: 9 !important;
}
#dp-tab-risk {
    order: 10 !important;
}
#dp-tab-manual {
    order: 11 !important;
}
ul.dc-tabs__list--main__tabs > li > svg,
ul.dc-tabs__list--main__tabs > li.dp-tab > svg {
    display: none !important;
}
ul.dc-tabs__list--main__tabs > li::before {
    content: '';
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    background: #3d8bff;
    -webkit-mask: var(--dp-ico) center / contain no-repeat;
    mask: var(--dp-ico) center / contain no-repeat;
}
ul.dc-tabs__list--main__tabs > li.dc-tabs__active--main__tabs::before,
ul.dc-tabs__list--main__tabs > li.dp-tab--on::before {
    background: #7cb6ff;
}
#id-dbot-dashboard {
    --dp-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 9.5V21h5v-6h4v6h5V9.5'/%3E%3C/svg%3E");
}
#id-bot-builder {
    --dp-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3Cpath d='M12 2v2M12 20v2M2 12h2M20 12h2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E");
}
#id-free-bots {
    --dp-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='10' width='18' height='11' rx='2'/%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Cpath d='M12 7v3M8.5 15h.01M15.5 15h.01M1 15h2M21 15h2'/%3E%3C/svg%3E");
}
#dp-tab-bulk {
    --dp-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m7 15 4-5 3 3 5-6'/%3E%3C/svg%3E");
}
#dp-tab-proai {
    --dp-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4.5a2.5 2.5 0 0 0-4.96-.46 2.5 2.5 0 0 0-1.98 3 2.5 2.5 0 0 0-1.32 4.24 3 3 0 0 0 .34 5.58 2.5 2.5 0 0 0 2.96 3.08A2.5 2.5 0 0 0 12 19.5Z'/%3E%3Cpath d='M12 4.5v15M16 8h3M16 12h5M16 16h3M19 8a1 1 0 1 0 0 .01M21 12h.01'/%3E%3C/svg%3E");
}
#dp-tab-dual {
    --dp-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 0 0-15-6.7L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3Cpath d='M3 12a9 9 0 0 0 15 6.7l3-2.7'/%3E%3Cpath d='M16 16h5v5'/%3E%3C/svg%3E");
}
#id-analysis-tool {
    --dp-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
}
#id-copy-trading {
    --dp-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='14' rx='2'/%3E%3Cpath d='M8 7V4h8v3M8 11v6M12 11v6M16 11v6'/%3E%3C/svg%3E");
}
#id-charts {
    --dp-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m7 16 4-6 3 3 5-7'/%3E%3C/svg%3E");
}
#dp-tab-risk {
    --dp-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='2' width='14' height='20' rx='2'/%3E%3Cpath d='M8 6h8M8 11h.01M12 11h.01M16 11h.01M8 15h.01M12 15h.01M16 15h.01M8 18.5h.01M12 18.5h.01M16 18.5h.01'/%3E%3C/svg%3E");
}
#dp-tab-manual {
    --dp-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='m17 2-5 5-5-5'/%3E%3C/svg%3E");
}

/* header: phone + Cashier on the left */
.dp-hdr-left {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-left: 14px;
}
.dp-cashier {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1e293b;
    font: 600 14px/1 Inter, 'Segoe UI', Roboto, Arial, sans-serif;
    text-decoration: none;
}
.dp-cashier svg {
    color: #2563eb;
}
.dp-cashier:hover span {
    text-decoration: underline;
}
@media (max-width: 767px) {
    .dp-hdr-left {
        gap: 10px;
        margin-left: 8px;
    }
    .dp-cashier span {
        display: none;
    }
}
.dpx-span2 {
    grid-column: 1 / -1;
}

/* ===== Bulk Trader (reference layout) ===== */
.dpb {
    max-width: 1180px;
    margin: 0 auto;
    font-family: Inter, 'Segoe UI', Roboto, Arial, sans-serif;
}
.dpb-row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.dpb-row3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 6px;
}
.dpb-row3.four {
    grid-template-columns: repeat(4, 1fr);
}
.dpb-f {
    margin-bottom: 8px;
}
.dpb-f[hidden] {
    display: none;
}
.dpb-f label {
    display: block;
    font: 800 10.5px/1 Inter, Arial, sans-serif;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #64748b;
    margin: 0 0 5px;
}
.dpb-row3 .dpb-f label {
    text-align: center;
}
.dpb-f select,
.dpb-f input {
    width: 100%;
    box-sizing: border-box;
    height: 38px;
    border: 1.5px solid #cbd5e1;
    border-radius: 4px;
    background: #fff;
    color: #0f172a;
    font: 700 14px/1 Inter, Arial, sans-serif;
    padding: 0 10px;
}
.dpb-f input {
    text-align: center;
    background: #f8fafc;
}
.dpb-cur {
    text-align: center;
    margin: 8px 0 10px;
}
.dpb-cur small {
    display: block;
    font: 800 10.5px/1 Inter, Arial, sans-serif;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #64748b;
}
.dpb-cur b {
    display: block;
    margin-top: 6px;
    font: 800 30px/1 Inter, Arial, sans-serif;
    color: #2f80ed;
}
.dpb-cur b.ld {
    font-size: 26px;
}
.dpb-circles {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 6px;
    justify-items: center;
}
.dpb-c {
    position: relative;
    cursor: pointer;
    padding-bottom: 14px;
}
.dpb-ring {
    --c: #9ca3af;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: conic-gradient(var(--c) calc(var(--p) * 1deg), #e5e7eb 0);
    display: grid;
    place-items: center;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
}
.dpb-c.top .dpb-ring {
    --c: #2f80ed;
}
.dpb-c.sec .dpb-ring {
    --c: #14b8a6;
}
.dpb-ring span {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}
.dpb-ring b {
    font: 800 13px/1 Inter, Arial, sans-serif;
    color: #111827;
}
.dpb-ring small {
    font: 700 9px/1 Inter, Arial, sans-serif;
    color: #111827;
}
.dpb-c.sel .dpb-ring span {
    background: #dbeafe;
}
.dpb-arrow {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 9px solid #ef4444;
}
.dpb-chips {
    display: flex;
    justify-content: center;
    gap: 6px;
    min-height: 22px;
    margin: 4px 0 6px;
}
.dpb-chips i {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    display: grid;
    place-items: center;
    font: 800 10px/1 Inter, Arial, sans-serif;
    font-style: normal;
    color: #fff;
    background: #94a3b8;
}
.dpb-chips i.a {
    background: #4dbfad;
}
.dpb-chips i.b {
    background: #e11d48;
}
.dpb-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 4px;
}
.dpb-btns button {
    border: 0;
    border-radius: 2px;
    padding: 0;
    color: #fff;
    cursor: pointer;
    overflow: hidden;
    transition: opacity 0.2s, filter 0.2s;
}
.dpb-btns button b,
.dpb-btns button span {
    display: block;
    padding: 9px 6px;
    font: 800 13px/1.1 Inter, Arial, sans-serif;
}
.dpb-a {
    background: #4dbfad;
}
.dpb-a span {
    background: #3d9d8d;
}
.dpb-b {
    background: #dc2b3c;
}
.dpb-b span {
    background: #b91f2f;
}
.dpb-btns button:hover {
    filter: brightness(1.06);
}
.dpb-btns button:disabled {
    opacity: 0.55;
    cursor: wait;
}
.dpb-msg {
    text-align: center;
    color: #475569;
    font: 600 12.5px/1.4 Inter, Arial, sans-serif;
    min-height: 18px;
    margin-top: 10px;
}
.dpb-acct {
    margin: 6px 0 0;
}
@media (max-width: 767px) {
    .dpb-circles {
        grid-template-columns: repeat(5, 1fr);
        row-gap: 4px;
    }
    .dpb-row3.four {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Manual Trader (DTrader style) ===== */
.dpt {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 14px;
    max-width: 1280px;
    margin: 0 auto;
    font-family: Inter, 'Segoe UI', Roboto, Arial, sans-serif;
    color: #0f172a;
}
.dpt .dpt-ico {
    color: #2563eb;
    flex: 0 0 auto;
}
.dpt-main {
    min-width: 0;
}
.dpt-top {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.dpt-mk {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 10px;
    background: #fff;
}
.dpt-mk select {
    border: 0;
    background: transparent;
    font: 700 15px/1 Inter, Arial, sans-serif;
    color: #0f172a;
    outline: 0;
}
.dpt-spot b {
    font: 800 20px/1 Inter, Arial, sans-serif;
}
.dpt-spot small {
    margin-left: 8px;
    font: 700 12px/1 Inter, Arial, sans-serif;
}
.dpt-spot small.up {
    color: #16a34a;
}
.dpt-spot small.down {
    color: #dc2626;
}
.dpt-ext {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2563eb;
    font: 600 13px/1 Inter, Arial, sans-serif;
    text-decoration: none;
}
.dpt-chart {
    height: 360px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}
.dpt-chart canvas {
    width: 100%;
    height: 100%;
    display: block;
}
.dpt-digits {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin: 10px 0;
}
.dpt-digits i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font: 700 12px/1 Inter, Arial, sans-serif;
    font-style: normal;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1.5px solid #bfdbfe;
}
.dpt-digits i.cur {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}
.dpt-pos h4 {
    margin: 6px 0;
    font-size: 14px;
}
.dpt-side {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    padding: 12px;
    align-self: start;
}
.dpt-sec {
    margin-bottom: 12px;
}
.dpt-sec[hidden] {
    display: none;
}
.dpt-sec > label {
    display: block;
    font: 700 12px/1 Inter, Arial, sans-serif;
    color: #475569;
    margin-bottom: 7px;
}
.dpt-sec small {
    font-weight: 500;
    color: #94a3b8;
}
.dpt-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.dpt-types button {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 8px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font: 600 12.5px/1.15 Inter, Arial, sans-serif;
    color: #0f172a;
    text-align: left;
}
.dpt-types button.on {
    border-color: #2563eb;
    background: #eff6ff;
}
.dpt-ticks,
.dpt-dg {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 4px;
}
.dpt-ticks button,
.dpt-dg button {
    height: 30px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #f8fafc;
    font: 700 12px/1 Inter, Arial, sans-serif;
    color: #0f172a;
    cursor: pointer;
    padding: 0;
}
.dpt-ticks button.on,
.dpt-dg button.on {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}
.dpt-ticks button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.dpt-sec input[type='text'] {
    width: 100%;
    box-sizing: border-box;
    height: 38px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 10px;
    font: 600 14px/1 Inter, Arial, sans-serif;
}
.dpt-stake {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
}
.dpt-stake button {
    border: 0;
    background: #f1f5f9;
    font: 700 18px/1 Inter, Arial, sans-serif;
    color: #2563eb;
    cursor: pointer;
}
.dpt-stake input {
    border: 0;
    text-align: center;
    height: 38px;
    font: 700 15px/1 Inter, Arial, sans-serif;
    min-width: 0;
}
.dpt-buy {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-radius: 8px;
    padding: 12px 14px;
    margin-top: 8px;
    color: #fff;
    cursor: pointer;
}
.dpt-buy.up {
    background: #4bb4b3;
}
.dpt-buy.down {
    background: #ec3f3f;
}
.dpt-buy:disabled {
    opacity: 0.6;
}
.dpt-buy .l {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 800 15px/1 Inter, Arial, sans-serif;
}
.dpt-buy .l .dpt-ico {
    color: #fff;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    padding: 3px;
}
.dpt-buy .r {
    text-align: right;
}
.dpt-buy .r small {
    display: block;
    font: 500 11px/1 Inter, Arial, sans-serif;
    opacity: 0.9;
}
.dpt-buy .r b {
    font: 800 14px/1.3 Inter, Arial, sans-serif;
}
.dpt-err {
    color: #dc2626;
    font: 500 12px/1.4 Inter, Arial, sans-serif;
    min-height: 16px;
    margin-top: 8px;
}
@media (max-width: 900px) {
    .dpt {
        grid-template-columns: 1fr;
    }
    .dpt-chart {
        height: 240px;
    }
    .dpt-ext {
        margin-left: 0;
    }
}

/* ===== Charts: Deriv's TradingView charts ===== */
#dp-panel.dpc-full {
    padding: 0 !important;
}
.dpc {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 150px);
    min-height: 420px;
}
.dpc-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    border-bottom: 1px solid #e2e8f0;
    font: 700 14px/1 Inter, Arial, sans-serif;
}
.dpc-bar b,
.dpc-bar a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.dpc-bar svg {
    color: #2563eb;
}
.dpc-bar a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
}
.dpc iframe {
    flex: 1;
    width: 100%;
    border: 0;
}
body.dp-own-tab ul.dc-tabs__list--main__tabs > li.dc-tabs__active--main__tabs:not(.dp-tab--on)::before {
    background: #3d8bff;
}
.dpb-f select {
    height: auto;
    min-height: 38px;
    padding: 8px 10px;
    line-height: 1.2;
}
#dp-tab-tv {
    order: 12 !important;
    --dp-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='M8 17V11M12 17V7M16 17v-4M20 17V9'/%3E%3C/svg%3E");
}

/* ===================== Trading Bots section ===================== */
#dp-panel.tb-panel {
    padding: 0 0 120px !important;
    background: #fff;
}
.tb {
    font-family: Inter, 'Segoe UI', Roboto, Arial, sans-serif;
}
.tb-subnav {
    display: flex;
    gap: 12px;
    padding: 12px 16px 10px;
    overflow-x: auto;
    scrollbar-width: none;
}
.tb-subnav button {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 96px;
    justify-content: center;
    padding: 12px 18px;
    border: 1.5px solid #e2e8f0;
    border-radius: 4px;
    background: #fff;
    color: #1e3a8a;
    font: 500 12px/1 Inter, Arial, sans-serif;
    cursor: pointer;
}
.tb-subnav button svg {
    color: #475569;
}
.tb-subnav button.on {
    border-color: #2563eb;
    color: #2563eb;
}
.tb-subnav button.on svg {
    color: #2563eb;
}
.tb-subnav em {
    font-style: normal;
    font-size: 13px;
}
.tb-rocket {
    position: absolute;
    top: -2px;
    right: 18px;
    filter: drop-shadow(0 0 6px rgba(244, 114, 182, 0.7));
}
.tb-bolt {
    color: #ef4444;
    filter: drop-shadow(0 0 5px rgba(239, 68, 68, 0.8));
}
.tb-subnav--2 {
    padding: 4px 0 14px;
}
.tb-body {
    padding: 0 16px;
}
.tb-empty {
    color: #94a3b8;
    text-align: center;
    padding: 30px 0;
}
/* Free Bots */
.tb-body--free {
    background: #f3f3f5;
    margin: 0 16px;
    padding: 24px 16px 40px;
    border-radius: 8px;
}
.tbf {
    max-width: 1100px;
    margin: 0 auto;
}
.tbf-search {
    display: block;
    width: 100%;
    max-width: 524px;
    margin: 0 auto 26px;
    box-sizing: border-box;
    height: 52px;
    border: 2px solid #1e3a8a;
    border-radius: 10px;
    padding: 0 18px;
    font: 400 18px/1 Inter, Arial, sans-serif;
    color: #0f172a;
    background: #fff;
}
.tbf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
    gap: 20px;
}
.tbf-card {
    position: relative;
    background: #fff;
    border: 2px solid #1e3a8a;
    border-radius: 16px;
    padding: 46px 18px 18px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.08);
    display: flex;
    flex-direction: column;
}
.tbf-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #111;
    font: 800 12px/1 Inter, Arial, sans-serif;
    letter-spacing: 0.6px;
    padding: 10px 18px;
    border-radius: 0 14px 0 14px;
}
.tbf-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    text-align: left;
    color: #1e3a8a;
    font: 500 19px/1.25 Inter, Arial, sans-serif;
}
.tbf-card h3 i {
    font-style: normal;
    font-size: 22px;
}
.tbf-stars {
    color: #facc15;
    letter-spacing: 3px;
    font-size: 16px;
    margin: 12px 0 8px;
}
.tbf-card p {
    color: #475569;
    font: 400 14px/1.6 Inter, Arial, sans-serif;
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.tbf-card button {
    border: 0;
    border-radius: 999px;
    padding: 12px 10px;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6);
    color: #fff;
    font: 800 16px/1 Inter, Arial, sans-serif;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.3);
}
.tbf-card button:disabled {
    opacity: 0.7;
    cursor: wait;
}
/* Scalper Bots */
.tb-body--scalper {
    padding: 0 16px;
}
.tbs {
    background: linear-gradient(180deg, #161c2b, #1e2536);
    border-radius: 6px;
    padding: 24px 16px 40px;
}
.tbs-in {
    max-width: 1100px;
    margin: 0 auto;
}
.tbs-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 24px;
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(127, 29, 29, 0.45), rgba(30, 37, 54, 0.6));
    margin-bottom: 20px;
}
.tbs-hero i {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 40% 35%, #f87171, #dc2626);
    box-shadow: 0 0 22px rgba(239, 68, 68, 0.55);
}
.tbs-hero p {
    margin: 0;
    color: #cbd5e1;
    font: 400 15px/1.4 Inter, Arial, sans-serif;
}
.tbs-hero b {
    color: #fff;
    font-weight: 700;
    font-size: 17px;
}
.tbs-search {
    width: 100%;
    max-width: 410px;
    box-sizing: border-box;
    height: 42px;
    border: 1px solid #475569;
    border-radius: 6px;
    background: #1b2232;
    color: #e2e8f0;
    padding: 0 16px;
    font: 400 14px/1 Inter, Arial, sans-serif;
}
.tbs-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 16px 0 20px;
}
.tbs-pills button {
    border: 1px solid #475569;
    background: transparent;
    color: #e2e8f0;
    border-radius: 999px;
    padding: 8px 15px;
    font: 500 13px/1 Inter, Arial, sans-serif;
    cursor: pointer;
}
.tbs-pills button.on {
    background: linear-gradient(90deg, #e11d48, #f97316);
    border-color: transparent;
    color: #fff;
}
.tbs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}
.tbs-card {
    background: #222a3b;
    border: 1px solid #2d3548;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 200px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.tbs-card:hover {
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.25), 0 10px 30px rgba(239, 68, 68, 0.12);
}
.tbs-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}
.tbs-tags span {
    border-radius: 999px;
    padding: 5px 10px;
    font: 700 11px/1 Inter, Arial, sans-serif;
    letter-spacing: 0.3px;
}
.tbs-tags .t1 {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.tbs-tags .t2 {
    background: rgba(59, 130, 246, 0.15);
    color: #bfdbfe;
    border: 1px solid rgba(59, 130, 246, 0.35);
}
.tbs-card h3 {
    margin: 0 0 10px;
    color: #fff;
    font: 700 17px/1.2 Inter, Arial, sans-serif;
}
.tbs-card p {
    margin: 0 0 18px;
    color: #94a3b8;
    font: 400 14px/1.5 Inter, Arial, sans-serif;
    flex: 1;
}
.tbs-card button {
    border: 0;
    border-radius: 4px;
    padding: 9px;
    background: linear-gradient(90deg, #e11d48, #ea580c);
    color: #fff;
    font: 700 15px/1 Inter, Arial, sans-serif;
    cursor: pointer;
}
#dp-multi {
    position: fixed;
    left: 16px;
    bottom: 60px;
    z-index: 2147482000;
    width: min(360px, calc(100vw - 32px));
    background: #1e2536;
    color: #e2e8f0;
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    font: 400 13px/1.4 Inter, Arial, sans-serif;
}
.tbm-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.tbm-head button {
    border: 0;
    background: transparent;
    color: #94a3b8;
    font-size: 18px;
    cursor: pointer;
}
.tbm-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 8px 0 10px;
}
.tbm-stop {
    width: 100%;
    border: 0;
    border-radius: 6px;
    padding: 9px;
    background: linear-gradient(90deg, #e11d48, #ea580c);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}
/* SpeedBots */
.tbsp {
    max-width: 1900px;
}
.tbsp-title {
    margin: 4px 0 18px;
    color: #4ade80;
    font: 500 30px/1.1 Inter, Arial, sans-serif;
    text-shadow: 0 0 12px rgba(74, 222, 128, 0.35);
}
.tbsp-box {
    background: #f3f3f5;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 16px;
}
.tbsp-top {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.tbsp-top label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 500 12px/1 Inter, Arial, sans-serif;
    color: #334155;
}
.tbsp-top select,
.tbsp-top input {
    height: 38px;
    min-width: 140px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background: #fff;
    padding: 0 10px;
    font: 500 14px/1 Inter, Arial, sans-serif;
}
.tbsp-top input[type='number'] {
    width: 110px;
    min-width: 0;
}
.tbsp-go {
    min-width: 78px;
    height: 62px;
    border: 0;
    border-radius: 8px;
    background: #c4b5fd;
    color: #fff;
    font: 800 15px/1 Inter, Arial, sans-serif;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.35);
}
.tbsp-go.ready {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}
.tbsp-go.run {
    background: linear-gradient(135deg, #e11d48, #ea580c);
}
.tbsp-chart {
    background: #fff;
    border-radius: 6px;
    height: 220px;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 10px;
    padding: 14px 16px 6px;
}
.tbsp-wait {
    grid-column: 1 / -1;
    display: grid;
    place-items: center;
    color: #94a3b8;
}
.tbsp-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}
.tbsp-bar small {
    font: 700 11px/1 Inter, Arial, sans-serif;
    color: #334155;
    margin-bottom: 4px;
}
.tbsp-bar > div {
    flex: 1;
    width: 70%;
    display: flex;
    align-items: flex-end;
    background: #f1f5f9;
    border-radius: 4px 4px 0 0;
}
.tbsp-bar i {
    display: block;
    width: 100%;
    background: #94a3b8;
    border-radius: 4px 4px 0 0;
    transition: height 0.3s;
}
.tbsp-bar.g i {
    background: #22c55e;
}
.tbsp-bar.b i {
    background: #3b82f6;
}
.tbsp-bar.y i {
    background: #facc15;
}
.tbsp-bar.r i {
    background: #ef4444;
}
.tbsp-bar b {
    margin-top: 4px;
    font: 800 13px/1 Inter, Arial, sans-serif;
}
.tbsp-bar em {
    height: 14px;
    color: #ef4444;
    font-style: normal;
    font-size: 12px;
}
.tbsp-legend {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 8px;
    font: 500 12px/1 Inter, Arial, sans-serif;
    color: #475569;
}
.tbsp-legend i {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    margin-right: 5px;
    vertical-align: -1px;
}
.tbsp-legend .g {
    background: #22c55e;
}
.tbsp-legend .b {
    background: #3b82f6;
}
.tbsp-legend .y {
    background: #facc15;
}
.tbsp-legend .r {
    background: #ef4444;
}
.tbsp-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}
.tbsp-btns button {
    border: 0;
    border-radius: 3px;
    padding: 12px 20px;
    text-align: left;
    color: #fff;
    font: 600 15px/1.2 Inter, Arial, sans-serif;
    cursor: pointer;
}
.tbsp-btns .most {
    background: linear-gradient(90deg, #22c55e, #16a34a);
}
.tbsp-btns .least {
    background: linear-gradient(90deg, #e11d48, #be123c);
}
.tbsp-box h4 {
    margin: 0 0 14px;
    font: 500 19px/1 Inter, Arial, sans-serif;
    color: #0f172a;
}
.tbsp-opt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    background: #fff;
    border-left: 4px solid #7c3aed;
    border-radius: 6px;
    padding: 12px 14px;
    margin-bottom: 12px;
    font: 500 12px/1 Inter, Arial, sans-serif;
    color: #334155;
}
.tbsp-opt.g {
    border-left-color: #22c55e;
}
.tbsp-opt span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.tbsp-opt em {
    color: #94a3b8;
    font-size: 14px;
}
.tbsp-opt input {
    width: 70px;
    height: 32px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background: #f8fafc;
    padding: 0 8px;
}
.tg {
    display: inline-block;
    position: relative;
    width: 48px;
    height: 26px;
    border-radius: 999px;
    background: #cbd5e1;
    cursor: pointer;
    transition: background 0.2s;
    flex: 0 0 auto;
}
.tg::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    transition: left 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.tg.on {
    background: #7c3aed;
}
.tg.on::after {
    left: 25px;
}
.tbsp-rows {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}
.tbsp-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 10px;
}
.tbsp-row.on {
    border-color: #a78bfa;
    background: #f5f3ff;
}
.tbsp-row span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font: 600 14px/1 Inter, Arial, sans-serif;
}
.tbsp-row input {
    width: 72px;
    height: 30px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0 6px;
}
.tbsp-status {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 14px;
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 8px;
    font: 500 13px/1.4 Inter, Arial, sans-serif;
    margin-bottom: 10px;
}
/* Calculator */
.tb-body--calc {
    min-height: 60vh;
    display: grid;
    place-items: center;
}
.tbc-card {
    width: min(420px, calc(100vw - 32px));
    background: linear-gradient(180deg, #1f2a37, #18212c);
    border-radius: 14px;
    padding: 22px 20px 20px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(56, 189, 248, 0.15);
}
.tbc-card h2 {
    margin: 0 0 18px;
    text-align: center;
    color: #38bdf8;
    font: 800 20px/1 Inter, Arial, sans-serif;
    letter-spacing: 3px;
    text-shadow: 0 0 14px rgba(56, 189, 248, 0.6);
}
.tbc-in {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e2e8f0;
    font: 600 12px/1 Inter, Arial, sans-serif;
    margin-bottom: 14px;
}
.tbc-in input {
    flex: 1;
    min-width: 0;
    height: 36px;
    border: 1.5px solid #38bdf8;
    border-radius: 8px;
    background: #2b3a48;
    color: #fff;
    text-align: center;
    font: 700 14px/1 Inter, Arial, sans-serif;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.35);
}
.tbc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #33424f;
    border: 1px solid #41525f;
    border-radius: 8px;
    padding: 11px 14px;
    margin-top: 10px;
    color: #e2e8f0;
    font: 600 12px/1 Inter, Arial, sans-serif;
}
.tbc-row b {
    color: #38bdf8;
    font: 800 15px/1 Inter, Arial, sans-serif;
}
.tbc-note {
    color: #94a3b8;
    font: 400 11.5px/1.5 Inter, Arial, sans-serif;
    margin: 14px 0 0;
}
/* Strategies */
.tbst {
    text-align: center;
    padding: 14px 0 30px;
}
.tbst h2 {
    margin: 0 0 6px;
    font: 700 30px/1.2 Inter, Arial, sans-serif;
    color: #1f2937;
}
.tbst > p {
    margin: 0 0 26px;
    color: #374151;
    font-size: 14px;
}
.tbst-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    max-width: 960px;
    margin: 0 auto;
}
.tbst-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 300px;
    padding: 30px 16px 20px;
    border: 0;
    border-radius: 14px;
    background: #f2f2f4;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    font-family: Inter, Arial, sans-serif;
    transition: transform 0.25s, box-shadow 0.25s;
    overflow: hidden;
}
.tbst-card i {
    color: var(--ic);
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: background 0.25s;
}
.tbst-card b {
    font-size: 19px;
    color: #1f2937;
    margin-bottom: 14px;
}
.tbst-card small {
    color: #374151;
    font-size: 13px;
    line-height: 1.5;
}
.tbst-btn {
    margin-top: auto;
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    color: #1f2937;
    font-size: 14px;
    transition: background 0.25s;
}
.tbst-card.top .tbst-btn {
    margin: 0 0 14px;
}
.tbst-card.top b {
    margin-bottom: 10px;
}
.tbst-card:hover {
    transform: translateY(-4px);
    background: linear-gradient(150deg, #db2777 0%, #8b5cf6 45%, #3b82f6 75%, #10b981 100%);
    box-shadow: 0 18px 36px rgba(139, 92, 246, 0.35);
}
.tbst-card:hover i {
    background: #fff;
}
.tbst-card:hover b,
.tbst-card:hover small {
    color: #fff;
}
.tbst-card:hover .tbst-btn {
    background: #f1f5f9;
}
.tbd-wrap {
    max-width: 1100px;
    margin: 0 auto;
}
.tbd-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 14px;
    border-bottom: 1px solid #e5e7eb;
    color: #475569;
    font: 400 13px/1 Inter, Arial, sans-serif;
}
.tbd-bar button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 6px;
    padding: 8px 12px;
    color: #1e3a8a;
    font: 500 13px/1 Inter, Arial, sans-serif;
    cursor: pointer;
}
.tbd-doc {
    max-width: 960px;
    margin: 24px auto;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
    padding: 30px 28px 34px;
    color: #1f2937;
    font: 400 14px/1.6 Inter, 'Segoe UI', Arial, sans-serif;
}
.tbd-doc h1 {
    margin: 0 0 20px;
    text-align: center;
    color: #1e3a8a;
    font: 800 24px/1.25 Inter, Arial, sans-serif;
    letter-spacing: 1.2px;
}
.tbd-doc h2,
.tbd-doc h3 {
    margin: 26px 0 16px;
    padding-bottom: 6px;
    border-bottom: 2px solid #34d399;
    color: #10b981;
    font: 800 21px/1.2 Inter, Arial, sans-serif;
}
.tbd-doc h3.tbd-g {
    font-weight: 700;
}
.tbd-doc h4 {
    margin: 6px 0 14px;
    color: #1e3a8a;
    font: 700 15px/1.2 Inter, Arial, sans-serif;
}
.tbd-doc h5 {
    margin: 0 0 8px;
    color: #6d5dd3;
    font: 700 14px/1.3 Inter, Arial, sans-serif;
}
.tbd-box {
    background: #f8f9fb;
    border-left: 4px solid #3b82f6;
    border-radius: 10px;
    padding: 18px 20px;
}
.tbd-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 14px 14px 6px;
    margin: 14px 0;
}
.tbd-doc ul,
.tbd-doc ol {
    margin: 8px 0 12px;
    padding-left: 20px;
}
.tbd-doc li {
    margin: 8px 0;
}
.tbd-doc li::marker {
    color: #3b82f6;
}
.tbd-doc b {
    color: #1e3a8a;
}
.tbd-use {
    background: #eef3ff;
    border-left: 4px solid #3b82f6;
    border-radius: 4px;
    padding: 12px 14px;
    color: #1e3a8a;
    font-weight: 500;
}
.tbd-nb {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: 6px;
    padding: 10px 12px;
    font-style: italic;
    color: #92400e;
    font-size: 13px;
}
.tbd-nb b {
    color: #92400e;
}
.tbd-doc b.r {
    color: #dc2626;
}
.tbd-doc b.y {
    color: #f59e0b;
}
.tbd-doc b.g {
    color: #10b981;
}
.tbd-doc b.bl {
    color: #3b82f6;
}
.tbd-quote {
    margin-top: 30px;
    padding: 24px;
    text-align: center;
    color: #fff;
    border-radius: 8px;
    background: linear-gradient(120deg, #1e40af, #3b82f6);
}
.tbd-quote p {
    margin: 6px 0;
}
.tbd-cta {
    display: block;
    width: 100%;
    margin-top: 24px;
    border: 0;
    border-radius: 8px;
    padding: 18px;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
    color: #fff;
    font: 800 17px/1 Inter, Arial, sans-serif;
    letter-spacing: 2.5px;
    cursor: pointer;
}
@media (max-width: 767px) {
    .tb-body--free {
        margin: 0 10px;
        padding: 16px 10px 30px;
    }
    .tb-body {
        padding: 0 10px;
    }
    .tbst-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .tbst-card {
        min-height: 240px;
    }
    .tbsp-chart {
        gap: 4px;
        padding: 10px 6px 4px;
    }
    .tbsp-btns {
        grid-template-columns: 1fr;
    }
    .tbd-doc {
        padding: 20px 14px;
    }
    .tbsp-title {
        font-size: 22px;
    }
}
@media print {
    .tbd-doc {
        box-shadow: none;
        margin: 0;
    }
}
.tbf-card button,
.tbs-card button {
    text-align: center;
}
.tbd-doc ul {
    list-style: disc;
}
.tbd-doc ol {
    list-style: decimal;
}
@media (max-width: 767px) {
    .tbsp-bar small {
        font-size: 8px;
        letter-spacing: -0.2px;
    }
}

/* WhatsApp / Telegram removed everywhere (footer, menu, copy trading, welcome pop-up) */
.app-footer__social,
.rng-wp,
.rng-menu__item--wa,
.rng-menu__item--tg,
.cpt__card--support {
    display: none !important;
}
.rng-menu__section:has(> .rng-menu__item--wa) {
    display: none !important;
}
