/* Standalone chatbot cards: 70×168 content area, matching market cards. */
.chat-security-cards {
    margin: 16px 0 24px;
    max-width: 100%;
    color: var(--color9, #333);
}
.chat-security-cards-heading {
    margin: 0 0 9px;
    font-size: 12px;
    font-weight: 700;
}
.chat-security-card-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 0 12px;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
}
.chat-security-card-list::-webkit-scrollbar { display: none; }
.chat-security-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    min-height: 10px;
}
.chat-security-dots[hidden] { display: none; }
.chat-security-dots button {
    width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #b7bbc2;
    cursor: pointer;
}
.chat-security-dots button.is-active {
    width: 16px;
    border-radius: 5px;
    background: #159b83;
}
.chat-security-dots button:focus-visible { outline: 2px solid #159b83; outline-offset: 3px; }
.chat-security-card {
    box-sizing: content-box;
    flex: 0 0 auto;
    scroll-snap-align: start;
    position: relative;
    width: 70px;
    height: 168px;
    margin: 0;
    padding: 1rem;
    border: 1px solid var(--color7, #c1c0b4);
    border-radius: 12px;
    background: transparent;
    color: var(--color9, #333);
    overflow: hidden;
    font-size: 11px;
    line-height: 1.2;
    text-align: right;
}
.chat-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}
.chat-card-link:focus-visible,
.chat-card-action:focus-visible {
    outline: 2px solid #6fbafb;
    outline-offset: -2px;
}
.chat-security-icon {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 21px;
    height: 21px;
    object-fit: contain;
    border-radius: 50%;
}
.chat-security-symbol {
    position: absolute;
    top: 10px;
    right: 32px;
    width: 63px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: right;
    font-size: 11px;
    font-weight: 800;
}
.chat-security-currency {
    position: absolute;
    top: 34px;
    left: 7px;
    right: 7px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: left;
    color: #888;
    font-size: 10px;
    font-weight: 700;
}
.chat-security-price {
    position: absolute;
    top: 50px;
    left: 7px;
    right: 7px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: left;
    font-size: 14px;
    font-weight: 800;
}
.chat-security-today {
    position: absolute;
    top: 75px;
    left: 7px;
    right: 7px;
    display: flex;
    direction: rtl;
    align-items: baseline;
    justify-content: space-between;
    color: #888;
    font-size: 8px;
    font-weight: 600;
    white-space: nowrap;
}
.chat-security-today span {
    font-size: 12px;
    font-weight: 800;
}
.chat-security-today span.is-up { color: #27b974; }
.chat-security-today span.is-down { color: #d6374c; }
.chat-security-chart {
    position: absolute;
    top: 99px;
    left: 7px;
    width: 88px;
    height: 61px;
    direction: ltr;
}
.chat-security-chart svg {
    display: block;
    width: 88px;
    height: 46px;
}
.chat-security-chart small {
    display: block;
    margin-top: 5px;
    color: #888;
    font-size: 7px;
    text-align: left;
    white-space: nowrap;
}
.chat-security-no-chart {
    display: block;
    height: 46px;
    line-height: 46px;
    text-align: center;
}
.chat-card-actions {
    position: absolute;
    bottom: 7px;
    left: 6px;
    right: 6px;
    z-index: 2;
    display: flex;
    direction: ltr;
    align-items: flex-end;
    justify-content: space-between;
    pointer-events: none;
}
.chat-card-forecast {
    display: inline-flex;
    width: 15px;
    flex: 0 0 15px;
    align-items: flex-end;
    justify-content: center;
}
.chat-card-forecast img {
    display: block;
    width: 11px;
    height: auto;
    object-fit: contain;
}
.chat-card-action-links {
    display: inline-flex;
    gap: 3px;
}
.chat-card-action {
    display: inline-flex;
    box-sizing: border-box;
    width: 19px;
    height: 19px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    padding: 0;
    pointer-events: auto;
    cursor: pointer;
}
.chat-card-action img {
    display: block;
    width: 19px;
    height: 19px;
    object-fit: contain;
}
.chat-card-action:disabled { cursor: wait; }

