/* 描述字段容器样式 */
.token-description {
    max-height: 4.5em;  /* 显示3行文本 */
    overflow: hidden;
    position: relative;
    line-height: 1.5em;
    margin-bottom: 10px;
    transition: max-height 0.3s ease-out;
}

/* 展开状态 */
.token-description.expanded {
    max-height: none;
}

/* 省略号效果 */
.token-description:not(.expanded)::after {
    content: "...";
    position: absolute;
    bottom: 0;
    right: 0;
    padding-left: 40px;
    background: linear-gradient(to right, transparent, white 50%);
}

/* 展开/收起按钮 */
.description-toggle {
    color: #007bff;
    cursor: pointer;
    font-size: 0.9em;
    margin-top: 5px;
    user-select: none;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .token-description {
        max-height: 3em;  /* 移动端显示2行 */
        font-size: 0.9em;
    }
} 