/* ニュース記事末尾の価格カード（チャートページへの導線）。チャートページの銘柄カードと同じ構成 */
.chart-card-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
    margin: 0 0 24px;
}

.chart-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid rgba(62, 186, 255, 0.5);
    border-radius: 8px;
    background-color: rgba(62, 186, 255, 0.08);
    color: inherit;
    text-decoration: none;
}

.chart-card:hover {
    background-color: rgba(62, 186, 255, 0.16);
    color: inherit;
    text-decoration: none;
}

.chart-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.chart-card__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(128, 128, 128, 0.2);
    object-fit: cover;
}

/* アイコンを取得できなかったときはシンボルの頭文字を出す */
.chart-card__icon--text {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}

.chart-card__label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.chart-card__name {
    overflow: hidden;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chart-card__symbol {
    font-size: 12px;
    font-weight: 700;
    opacity: 0.6;
    white-space: nowrap;
}

/* 左にミニチャート、右に騰落率と価格 */
.chart-card__body {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.chart-card__spark {
    flex: 1 1 0;
    min-width: 0;
    max-width: 160px;
    height: 44px;
    color: #00C09E;
}

.chart-card__spark.is-down {
    color: #F83A68;
}

.chart-card__spark-line {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.chart-card__spark-area {
    fill: currentColor;
    opacity: 0.18;
}

.chart-card__figures {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
    margin-left: auto;
}

.chart-card__price {
    font-size: 17px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.chart-card__change {
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.chart-card__change.is-up {
    color: #00C09E;
}

.chart-card__change.is-up::before {
    content: "↑ ";
}

.chart-card__change.is-down {
    color: #F83A68;
}

.chart-card__change.is-down::before {
    content: "↓ ";
}

/* チャートページへのリンクであることを示す文言 */
.chart-card__title {
    padding-top: 8px;
    border-top: 1px solid rgba(128, 128, 128, 0.25);
    color: #3EBAFF;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.chart-card__title::after {
    content: " ›";
}
