.td-vip-ross-hook-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 20;
}

.td-vip-ross-hook-overlay.is-hidden {
    display: none;
}

.td-vip-ross-hook-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.td-vip-ross-hook-structure-line {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 5 4;
    filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.16));
}

.td-vip-ross-hook-confirm-line,
.td-vip-ross-hook-hook-line {
    stroke: rgba(37, 99, 235, 0.72);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-dasharray: 7 5;
}

.td-vip-ross-hook-hook-line {
    stroke: rgba(14, 165, 233, 0.86);
    stroke-width: 2;
}

.td-vip-ross-hook-trick-zone {
    fill: rgba(37, 99, 235, 0.08);
    stroke: rgba(37, 99, 235, 0.22);
    stroke-width: 1;
    stroke-dasharray: 3 3;
}

.td-vip-ross-hook-2b-point {
    fill: #f59e0b;
    stroke: #ffffff;
    stroke-width: 2;
    filter: drop-shadow(0 2px 5px rgba(245, 158, 11, 0.32));
}

.td-vip-ross-hook-labels,
.td-vip-ross-hook-scanner {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.td-vip-ross-hook-label {
    position: absolute;
    min-width: 24px;
    height: 22px;
    padding: 0 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(148, 163, 184, 0.34);
    color: #0f172a;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
    white-space: nowrap;
}

.td-vip-ross-hook-label--bullish {
    border-color: rgba(15, 159, 143, 0.28);
    color: #04756d;
}

.td-vip-ross-hook-label--bearish {
    border-color: rgba(225, 29, 72, 0.26);
    color: #be123c;
}

.td-vip-ross-hook-label--hook {
    border-color: rgba(37, 99, 235, 0.34);
    color: #1d4ed8;
}

.td-vip-ross-hook-label--tte {
    border-color: rgba(14, 165, 233, 0.28);
    color: #0369a1;
}

.td-vip-ross-hook-label--two-b {
    border-color: rgba(245, 158, 11, 0.36);
    color: #b45309;
}

.td-vip-ross-hook-scanner {
    inset: 58px auto auto 40px;
    width: min(292px, calc(100% - 90px));
    display: grid;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.13);
    backdrop-filter: blur(14px);
    color: #0f172a;
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.td-vip-ross-hook-scanner:hover,
.td-vip-ross-hook-scanner:focus-visible {
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.17);
    outline: none;
    transform: translateY(-1px);
}

.td-vip-wyckoff-overlay:not(.is-hidden) + .td-vip-ross-hook-overlay:not(.is-hidden) .td-vip-ross-hook-scanner {
    inset: 58px auto auto 246px;
    width: min(292px, calc(100% - 296px));
}

.td-vip-ross-hook-detail {
    position: absolute;
    inset: 58px auto auto 348px;
    width: min(360px, calc(100% - 398px));
    max-height: min(520px, calc(100% - 86px));
    overflow: auto;
    padding: 10px;
    display: grid;
    gap: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: 0 20px 54px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(16px);
    color: #0f172a;
    pointer-events: auto;
}

.td-vip-wyckoff-overlay:not(.is-hidden) + .td-vip-ross-hook-overlay:not(.is-hidden) .td-vip-ross-hook-detail {
    inset: 58px auto auto 556px;
    width: min(340px, calc(100% - 606px));
}

.td-vip-ross-hook-detail.is-hidden {
    display: none;
}

.td-vip-ross-hook-scan-head,
.td-vip-ross-hook-scan-main,
.td-vip-ross-hook-stage-row {
    display: grid;
}

.td-vip-ross-hook-scan-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.td-vip-ross-hook-scan-head span {
    color: #475569;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
}

.td-vip-ross-hook-scan-head strong {
    width: 34px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #e2e8f0;
    color: #334155;
    font-size: 12px;
    font-weight: 900;
}

.td-vip-ross-hook-scan-head strong.is-strong {
    background: #ccfbf1;
    color: #0f766e;
}

.td-vip-ross-hook-scan-head strong.is-balanced {
    background: #dbeafe;
    color: #1d4ed8;
}

.td-vip-ross-hook-scan-main {
    gap: 3px;
}

.td-vip-ross-hook-scan-main b {
    font-size: 15px;
    color: #0f172a;
}

.td-vip-ross-hook-scan-main b.is-bullish {
    color: #047857;
}

.td-vip-ross-hook-scan-main b.is-bearish {
    color: #be123c;
}

.td-vip-ross-hook-scan-main span,
.td-vip-ross-hook-scan-main em {
    font-size: 12px;
    color: #475569;
    font-style: normal;
    line-height: 1.35;
}

.td-vip-ross-hook-stage-row {
    grid-template-columns: auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 5px;
    padding: 7px;
    border-radius: 7px;
    background: rgba(248, 250, 252, 0.88);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.td-vip-ross-hook-stage-row span {
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
}

.td-vip-ross-hook-stage-row b {
    color: #1e293b;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.td-vip-ross-hook-mtf,
.td-vip-ross-hook-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 7px;
    border-radius: 7px;
    background: rgba(248, 250, 252, 0.86);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.td-vip-ross-hook-mtf span,
.td-vip-ross-hook-more {
    color: #64748b;
    font-size: 10px;
    font-weight: 850;
}

.td-vip-ross-hook-mtf b {
    min-width: 0;
    color: #334155;
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.td-vip-ross-hook-mtf.is-strong,
.td-vip-ross-hook-mtf.is-balanced {
    background: rgba(236, 253, 245, 0.82);
    border-color: rgba(45, 212, 191, 0.26);
}

.td-vip-ross-hook-mtf.is-conflict {
    background: rgba(255, 247, 237, 0.86);
    border-color: rgba(251, 146, 60, 0.34);
}

.td-vip-ross-hook-more {
    justify-content: center;
    min-height: 24px;
    color: #2563eb;
    background: rgba(239, 246, 255, 0.82);
    border-color: rgba(147, 197, 253, 0.42);
}

.td-vip-ross-hook-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.td-vip-ross-hook-tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 21px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(241, 245, 249, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.96);
    color: #475569;
    font-size: 10px;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
}

.td-vip-ross-hook-tag-row span.is-strong {
    background: rgba(204, 251, 241, 0.86);
    border-color: rgba(45, 212, 191, 0.38);
    color: #0f766e;
}

.td-vip-ross-hook-tag-row span.is-balanced {
    background: rgba(219, 234, 254, 0.88);
    border-color: rgba(96, 165, 250, 0.36);
    color: #1d4ed8;
}

.td-vip-ross-hook-tag-row span.is-muted {
    background: rgba(248, 250, 252, 0.82);
    color: #64748b;
}

.td-vip-ross-hook-detail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.td-vip-ross-hook-detail-head strong {
    color: #0f172a;
    font-size: 13px;
    font-weight: 900;
}

.td-vip-ross-hook-detail-head button {
    width: 24px;
    height: 24px;
    border: 1px solid rgba(148, 163, 184, 0.32);
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.94);
    color: #64748b;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.td-vip-ross-hook-detail-summary,
.td-vip-ross-hook-detail-points,
.td-vip-ross-hook-detail section {
    display: grid;
    gap: 7px;
    padding: 8px;
    border-radius: 7px;
    background: rgba(248, 250, 252, 0.82);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.td-vip-ross-hook-detail-summary span {
    display: grid;
    gap: 2px;
    color: #64748b;
    font-size: 10px;
    line-height: 1.35;
}

.td-vip-ross-hook-detail-summary b {
    color: #0f172a;
    font-size: 11px;
}

.td-vip-ross-hook-detail-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.td-vip-ross-hook-detail-points span {
    display: grid;
    gap: 2px;
    color: #334155;
    font-size: 11px;
}

.td-vip-ross-hook-detail-points b {
    color: #2563eb;
    font-size: 10px;
}

.td-vip-ross-hook-detail h4 {
    margin: 0;
    color: #475569;
    font-size: 10px;
    font-weight: 900;
}

.td-vip-ross-hook-detail-row {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px;
}

.td-vip-ross-hook-detail-row span {
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
}

.td-vip-ross-hook-detail-row b {
    min-width: 0;
    color: #0f172a;
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.td-vip-ross-hook-detail-row em {
    padding: 3px 6px;
    border-radius: 999px;
    background: rgba(219, 234, 254, 0.9);
    color: #1d4ed8;
    font-size: 10px;
    font-style: normal;
    font-weight: 850;
    white-space: nowrap;
}

.td-vip-ross-hook-detail-row em.is-strong {
    background: rgba(204, 251, 241, 0.9);
    color: #0f766e;
}

.td-vip-ross-hook-detail-row em.is-muted {
    background: rgba(241, 245, 249, 0.92);
    color: #64748b;
}

.td-vip-ross-hook-detail-row small {
    grid-column: 2 / 4;
    color: #64748b;
    font-size: 10px;
}

.td-vip-ross-hook-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.td-vip-ross-hook-detail-tags span {
    padding: 4px 7px;
    border-radius: 999px;
    background: rgba(241, 245, 249, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.9);
    color: #475569;
    font-size: 10px;
    font-weight: 800;
}

.td-vip-ross-hook-detail-tags span.is-strong {
    background: rgba(204, 251, 241, 0.86);
    border-color: rgba(45, 212, 191, 0.36);
    color: #0f766e;
}

.td-vip-ross-hook-detail-tags span.is-muted {
    color: #64748b;
}

.td-vip-ross-hook-empty {
    margin: 0;
    color: #64748b;
    font-size: 11px;
}

body.td-vip-body.is-night-mode .td-vip-ross-hook-label {
    background: rgba(15, 23, 42, 0.88);
    border-color: rgba(148, 163, 184, 0.28);
    color: #e2e8f0;
}

body.td-vip-body.is-night-mode .td-vip-ross-hook-scanner {
    background: rgba(15, 23, 42, 0.82);
    border-color: rgba(148, 163, 184, 0.22);
    color: #e2e8f0;
}

body.td-vip-body.is-night-mode .td-vip-ross-hook-detail {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(148, 163, 184, 0.24);
    color: #e2e8f0;
}

body.td-vip-body.is-night-mode .td-vip-ross-hook-scan-main b,
body.td-vip-body.is-night-mode .td-vip-ross-hook-stage-row b,
body.td-vip-body.is-night-mode .td-vip-ross-hook-detail-head strong,
body.td-vip-body.is-night-mode .td-vip-ross-hook-detail-summary b,
body.td-vip-body.is-night-mode .td-vip-ross-hook-detail-row b {
    color: #f8fafc;
}

body.td-vip-body.is-night-mode .td-vip-ross-hook-scan-main span,
body.td-vip-body.is-night-mode .td-vip-ross-hook-scan-main em,
body.td-vip-body.is-night-mode .td-vip-ross-hook-scan-head span,
body.td-vip-body.is-night-mode .td-vip-ross-hook-stage-row span,
body.td-vip-body.is-night-mode .td-vip-ross-hook-detail h4,
body.td-vip-body.is-night-mode .td-vip-ross-hook-detail-summary span,
body.td-vip-body.is-night-mode .td-vip-ross-hook-detail-row span,
body.td-vip-body.is-night-mode .td-vip-ross-hook-detail-row small,
body.td-vip-body.is-night-mode .td-vip-ross-hook-empty {
    color: #cbd5e1;
}

body.td-vip-body.is-night-mode .td-vip-ross-hook-stage-row,
body.td-vip-body.is-night-mode .td-vip-ross-hook-mtf,
body.td-vip-body.is-night-mode .td-vip-ross-hook-more,
body.td-vip-body.is-night-mode .td-vip-ross-hook-detail-summary,
body.td-vip-body.is-night-mode .td-vip-ross-hook-detail-points,
body.td-vip-body.is-night-mode .td-vip-ross-hook-detail section {
    background: rgba(30, 41, 59, 0.72);
    border-color: rgba(71, 85, 105, 0.76);
}

body.td-vip-body.is-night-mode .td-vip-ross-hook-tag-row span {
    background: rgba(30, 41, 59, 0.72);
    border-color: rgba(71, 85, 105, 0.72);
    color: #cbd5e1;
}

body.td-vip-body.is-night-mode .td-vip-ross-hook-tag-row span.is-strong {
    background: rgba(20, 184, 166, 0.18);
    border-color: rgba(45, 212, 191, 0.34);
    color: #99f6e4;
}

body.td-vip-body.is-night-mode .td-vip-ross-hook-tag-row span.is-balanced {
    background: rgba(37, 99, 235, 0.18);
    border-color: rgba(96, 165, 250, 0.34);
    color: #bfdbfe;
}

body.td-vip-body.is-night-mode .td-vip-ross-hook-detail-head button {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(148, 163, 184, 0.28);
    color: #cbd5e1;
}

@media (max-width: 1180px) {
    .td-vip-ross-hook-detail,
    .td-vip-wyckoff-overlay:not(.is-hidden) + .td-vip-ross-hook-overlay:not(.is-hidden) .td-vip-ross-hook-detail {
        inset: 424px auto auto 40px;
        width: min(360px, calc(100% - 60px));
        max-height: 360px;
    }
}

@media (max-width: 768px) {
    .td-vip-ross-hook-scanner {
        left: 40px;
        top: 70px;
        bottom: auto;
        width: min(286px, calc(100% - 60px));
    }

    .td-vip-wyckoff-overlay:not(.is-hidden) + .td-vip-ross-hook-overlay:not(.is-hidden) .td-vip-ross-hook-scanner {
        left: 40px;
        top: 70px;
        right: auto;
        bottom: auto;
        width: min(286px, calc(100% - 60px));
    }

    .td-vip-ross-hook-detail,
    .td-vip-wyckoff-overlay:not(.is-hidden) + .td-vip-ross-hook-overlay:not(.is-hidden) .td-vip-ross-hook-detail {
        left: 40px;
        top: 360px;
        right: auto;
        bottom: auto;
        width: min(286px, calc(100% - 60px));
        max-height: 320px;
    }

    .td-vip-ross-hook-detail-points {
        grid-template-columns: 1fr;
    }
}
