/* 收藏库侧边栏组件样式 */

:root {
    --zrecords-secondtext: #afafaf;
}
.zrecords-aside-container {
    padding: 0.4rem 0.6rem !important;
}

.zrecords-aside-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    color: var(--heo-secondtext);
}

.zrecords-aside-loading .haofont {
    font-size: 24px;
    margin-bottom: 10px;
}

.zrecords-aside-empty {
    text-align: center;
    padding: 20px 0;
    color: var(--heo-secondtext);
    font-size: 0.9rem;
}

.zrecords-aside-error {
    text-align: center;
    padding: 20px 0;
    color: var(--heo-secondtext);
    font-size: 0.9rem;
}

.zrecords-aside-game-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.zrecords-as-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.zrecords-as-left-content {
    margin-top: 0.4rem;
    flex-shrink: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.zrecords-as-right-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.zrecords-as-cover-body {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    background: var(--heo-white);
}

[data-theme="dark"] .zrecords-as-cover-body {
    background: #0000004d;
}

.zrecords-as-cover-img {
    width: 4.2em;
    height: 6.3em;
    object-fit: cover;
    border-radius: 4px;
}

.zrecords-as-rating-item {
    font-size: 12px;
    text-align: center;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px 0;
    color: var(--zrecords-secondtext);
}

.zrecords-as-rating-item-no-rating-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.zrecords-as-title {
    font-size: 0.6rem;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    border-bottom: var(--style-border);
}

.zrecords-as-body {
    display: flex;
    gap: 0.4rem;
}

.zrecords-as-platform-block {
    padding: 0 4px;
    border-radius: 2px;
    margin-right: 4px;
    color: var(--heo-white);
    font-size: 12px;
}

.zrecords-as-time {
    font-size: 0.58rem;
    color: var(--zrecords-secondtext);
    flex-shrink: 0;
}

.zrecords-as-time-icon {
    margin-right: 4px;
    font-size: 12px;
}

.zrecords-as-playtime {
    font-size: 0.58rem;
    color: var(--zrecords-secondtext);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.zrecords-as-summary {
    font-size: 0.58rem;
    color: var(--zrecords-secondtext);
    flex-grow: 1;
    margin-bottom: 4px;
    position: relative;
    line-height: 1.4;
    height: 100%;
    overflow: auto;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.zrecords-as-summary :hover {
    color: var(--heo-fontcolor);
}

/* 滚动条样式 */
.zrecords-as-summary::-webkit-scrollbar {
    width: 5px;
}

.zrecords-as-summary::-webkit-scrollbar-track {
    background: #2d2d2d;
    border-radius: 10px;
}

.zrecords-as-summary::-webkit-scrollbar-thumb {
    background: var(--heo-theme);
    border-radius: 10px;
}

.zrecords-as-links {
    font-size: 12px;
    margin-top: 4px;
    flex-shrink: 0;
}

.zrecords-as-link {
    display: inline-flex;
    align-items: center;
    color: var(--heo-theme);
    margin-right: 8px;
    text-decoration: none;
}

.zrecords-as-link:hover {
    text-decoration: underline;
}

.zrecords-as-link-icon {
    margin-right: 2px;
}

.zrecords-as-text-label { 
    color: var(--heo-theme);
}