/* Trading Desk Widget */
.trading-desk-widget {
    background: transparent;
    overflow: hidden;
    font-family: 'DM Sans', sans-serif;
    margin-bottom: 0;
}

.td-header {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
	border-bottom: 1px solid var(--line);
	margin-bottom: 10px;
	padding-bottom: 3px;
}

.td-eyebrow {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--gold-deep);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.td-eyebrow::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 2px;
    background: var(--gold);
}

.td-title {
    font-family: "Fraunces", serif;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--navy);
    line-height: 1.1;
    margin: 0 0 6px 0;
}

.td-title span {
    color: var(--gold-deep);
    font-style: italic;
}

.td-subtitle {
    font-size: 8.5px;
    color: #64748b;
    font-weight: 500;
}

.td-subtitle b {
    color: #8b5a19;
}

/* Detected Area */
.td-detected {
	background: #ffffff;
	border-top: 1px solid #f1f5f9;
	border-bottom: 1px solid #f1f5f9;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.td-detected-icon {
    width: 32px;
    height: 24px;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.td-detected-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.td-detected-text {
    display: flex;
    flex-direction: column;
}

.td-detected-label {
    font-size: 8px;
    font-weight: 800;
    color: #8e6418;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 4px;
}

.td-detected-value {
    font-size: 14px;
    font-weight: 600;
    color: #0f2c4d;
}

.td-detected-value span {
    font-family: 'Fraunces', serif;
    font-style: italic;
    color: #8e6418;
    font-weight: 500;
}

/* Stats Area */
.td-stats {
    padding: 15px 0;
    background: #ffffff;
}

.td-stats-eyebrow {
    font-size: 8.5px;
    font-weight: 800;
    color: #a3752c;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.td-stats-eyebrow::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: #d4a24c;
}

.td-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.td-stat-card {
    border: 1px solid #e4d8b9;
    border-radius: 8px;
    padding: 6px 4px;
    text-align: center;
    position: relative;
}

.td-stat-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    background: #a3752c;
}

.td-stat-val {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 19px;
    font-weight: 700;
    color: #8b5a19;
    line-height: 1.2;
    margin-bottom: 2px;
}

.td-stat-label {
    font-size: 8px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Tabs Area */
.td-tabs {
    display: flex;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.td-tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 8.5px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.td-tab.active {
    color: #a3752c;
    border-bottom-color: #a3752c;
}

/* List Area */
.td-list {
    background: #ffffff;
    padding: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.td-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 15px;
    position: relative;
    background: #ffffff;
}

.td-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 15px;
    width: 30px;
    height: 3px;
    background: #c3923c;
    border-radius: 0 0 2px 2px;
}

.td-card.highlight {
    background: #fdfbf7;
    border-color: #e4d8b9;
}

.td-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.td-card-tags {
    display: flex;
    gap: 6px;
    align-items: center;
}

.td-tag {
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.td-tag-text {
    color: #8b5a19;
}

.td-tag-pill {
    padding: 3px 8px;
    border-radius: 12px;
}

.td-tag-new {
    background: #15803d;
    color: #ffffff;
}

.td-tag-verified {
    background: #dcfce7;
    color: #166534;
}

.td-tag-ending {
    background: #ffedd5;
    color: #9a3412;
}

.td-card-time {
    font-size: 9px;
    font-weight: 700;
    color: #64748b;
}

.td-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f2c4d;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.td-card-title span {
    font-family: var(--font-body);
    font-style: italic;
    color: #a3752c;
    font-weight: 700;
}

.td-card-meta {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.td-card-meta strong {
    color: #0f2c4d;
    font-weight: 700;
}

/* Footer */
.td-footer {
    background: #0f2c4d;
    padding: 20px;
    text-align: center;
}

.td-footer-btn {
    display: block;
    width: 100%;
    background: #d4a24c;
    color: #0f2c4d;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin-bottom: 12px;
}

.td-footer-btn:hover {
    background: #c3923c;
    color: #0f2c4d;
    transform: translateY(-1px);
}

.td-footer-meta {
    font-size: 8.5px;
    font-weight: 700;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: monospace;
}

.td-footer-meta span.dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
}
