/* 用户创作：水墨三栏与保留上下切换的作品播放器 */
.user-creation-page {
    --creation-green: #1e6548;
    --creation-ink: #183a30;
    background: #eef8f1 url('/static/common/creation-jiangnan-bg.png') center top / cover fixed no-repeat;
    color: var(--creation-ink);
}

.user-creation-page .creation-main {
    display: block;
    min-height: calc(100vh - 84px);
    padding: 22px 0 64px;
    background: transparent;
}

.user-creation-page .creation-container {
    display: grid;
    grid-template-columns: minmax(225px, 275px) minmax(420px, 1fr) minmax(270px, 310px);
    gap: 18px;
    width: min(1840px, calc(100% - 64px));
    height: auto;
    max-width: 1840px;
    margin: 0 auto;
    padding: 0;
    overflow: visible;
    align-items: start;
}

.user-creation-page .creation-sidebar,
.user-creation-page .featured-creator-card,
.user-creation-page .related-creations-card,
.user-creation-page .creation-player-card {
    border: 1px solid rgba(227, 237, 230, .9);
    border-radius: 15px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 12px 34px rgba(35, 84, 63, .09);
}

.user-creation-page .creation-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: auto;
    max-width: none;
    min-width: 0;
    height: auto;
    max-height: calc(100vh - 105px);
    position: sticky;
    top: 94px;
    padding: 18px;
    overflow-y: auto;
}

.user-creation-page .creation-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    order: 1;
    padding: 8px 0 20px;
    margin-bottom: 10px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}
.user-creation-page .creation-stats .stat-item + .stat-item { border-left: 1px solid #e7eee9; }
.user-creation-page .creation-stats .stat-item { min-width: 0; padding: 0 2px; }
.user-creation-page .creation-stats .stat-item i {
    display: block;
    margin-bottom: 9px;
    color: #2d7658;
    font-size: 21px;
}
.user-creation-page .creation-stats .stat-number {
    margin: 0 0 4px;
    color: #17543e;
    font-family: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
    font-size: 22px;
    line-height: 1.2;
}
.user-creation-page .creation-stats .stat-label { color: #71847b; font-size: 11px; white-space: nowrap; }

.user-creation-page .creation-sidebar > .create-btn {
    order: 2;
    min-height: 50px;
    margin: 0 0 12px;
    padding: 10px;
    border-radius: 8px;
    background: #216846;
    box-shadow: 0 4px 12px rgba(29, 97, 67, .17);
}
.user-creation-page .creation-sidebar > .sort-options { order: 3; }
.user-creation-page .creation-sidebar > .creator-center-section { order: 4; }
.user-creation-page .creation-sidebar > .category-section { order: 5; }
.user-creation-page .creation-sidebar > .trending-guide-container { order: 6; }

.user-creation-page .sort-options,
.user-creation-page .category-section,
.user-creation-page .trending-tags,
.user-creation-page .creation-guide {
    margin: 0 0 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    transform: none;
}
.user-creation-page .sort-options:hover,
.user-creation-page .category-section:hover,
.user-creation-page .trending-tags:hover,
.user-creation-page .creation-guide:hover { box-shadow: none; transform: none; }
.user-creation-page .sort-options h3,
.user-creation-page .category-section h3,
.user-creation-page .trending-tags h3,
.user-creation-page .creation-guide h3 {
    gap: 9px;
    margin: 0 0 8px;
    padding: 10px 2px;
    color: #182f29;
    background: transparent;
    font-family: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
    font-size: 15px;
}
.user-creation-page .sort-options h3 i,
.user-creation-page .category-section h3 i,
.user-creation-page .trending-tags h3 i,
.user-creation-page .creation-guide h3 i { color: var(--creation-green); }
.user-creation-page .sort-list,
.user-creation-page .category-list { gap: 4px; padding: 0; }
.user-creation-page .sort-btn,
.user-creation-page .category-btn {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 41px;
    padding: 7px 13px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #344640;
    font-size: 14px;
    font-weight: 500;
}
.user-creation-page .sort-btn i,
.user-creation-page .category-btn i { width: 18px; color: #37725a; text-align: center; }
.user-creation-page .sort-btn.active,
.user-creation-page .category-btn.active { background: #eaf3ed; color: #14583c; border: 0; }
.user-creation-page .sort-btn:hover,
.user-creation-page .category-btn:hover { background: #f0f7f1; color: #15563e; border: 0; }
.user-creation-page .creator-center-section { margin: 0 0 10px; }
.user-creation-page .creator-center-btn {
    justify-content: flex-start;
    min-height: 41px;
    padding: 7px 13px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    color: #344640;
    font-size: 14px;
    font-weight: 500;
}
.user-creation-page .creator-center-btn i { color: #37725a; }
.user-creation-page .creator-center-btn:hover { background: #f0f7f1; border: 0; box-shadow: none; }
.user-creation-page .trending-guide-container { display: block; margin: 0; border-top: 1px solid #e9efea; padding-top: 8px; }
.user-creation-page .tags-container { padding: 0; }
.user-creation-page .creation-guide ul { padding: 0 2px; }

.user-creation-page .creation-feed {
    display: block;
    width: auto;
    height: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.user-creation-page .creation-list { display: flex; flex-direction: column; gap: 14px; overflow: visible; }
.user-creation-page .creation-player-card { overflow: hidden; }
.user-creation-page .douyin-container {
    width: 100%;
    height: auto;
    min-height: 400px;
    max-height: 760px;
    aspect-ratio: 1.6 / 1;
    flex: none;
    border-radius: 14px 14px 0 0;
    background: #d8e9e2 url('/static/common/creation-jiangnan-bg.png') center 34% / cover no-repeat;
}
.user-creation-page .video-feed { position: relative; width: 100%; height: 100%; background: transparent; }
.user-creation-page .video-item video { background: rgba(17, 47, 41, .85); }
.user-creation-page .video-item img { object-fit: contain !important; background: rgba(29, 69, 57, .65); }
.user-creation-page .video-item.creation-article > div:first-child,
.user-creation-page .video-item.creation-music > div:first-child {
    background: linear-gradient(135deg, rgba(22, 82, 62, .25), rgba(14, 48, 48, .13)), url('/static/common/creation-jiangnan-bg.png') center 26% / cover no-repeat !important;
}
.user-creation-page .video-item.creation-article > div:first-child i,
.user-creation-page .video-item.creation-music > div:first-child i { color: #267555 !important; }
.user-creation-page .video-overlay { display: none; }
.user-creation-page .slide-up,
.user-creation-page .slide-down {
    left: auto;
    right: 16px;
    width: 41px;
    height: 41px;
    transform: none;
    background: rgba(22, 76, 58, .7);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .14);
}
.user-creation-page .slide-up { top: calc(50% - 47px); bottom: auto; }
.user-creation-page .slide-down { top: calc(50% + 7px); bottom: auto; }
.user-creation-page .slide-up:hover,
.user-creation-page .slide-down:hover { transform: scale(1.08); background: #1b6548; }
.user-creation-page .slide-indicators { bottom: 12px; }
.user-creation-page .indicator { cursor: pointer; }

.user-creation-page .creation-details { padding: 19px 20px 20px; }
.user-creation-page .creation-details h1 {
    margin: 0 0 14px;
    color: #1b3028;
    font-family: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
    font-size: clamp(20px, 1.7vw, 25px);
    line-height: 1.45;
}
.user-creation-page .creation-byline { margin-bottom: 15px; }
.user-creation-page .interactive-bar {
    position: static;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: auto;
    padding: 0;
    gap: 10px;
    background: transparent;
}
.user-creation-page .user-info { flex-direction: row; align-items: center; gap: 8px; min-width: 0; }
.user-creation-page .avatar-container { flex-direction: row; }
.user-creation-page .user-avatar { width: 37px; height: 37px; border: 1px solid #dcebe2; }
.user-creation-page .username {
    order: 1;
    max-width: 130px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 0;
    background: transparent;
    color: #243c32 !important;
    font-size: 13px;
    backdrop-filter: none;
}
.user-creation-page .follow-btn {
    order: 2;
    margin: 0 0 0 3px;
    padding: 5px 12px;
    border-radius: 18px;
    background: #246a49;
}
.user-creation-page .interaction-buttons { flex-direction: row; gap: 13px; align-items: center; }
.user-creation-page .interaction-btn { flex-direction: row; gap: 4px; white-space: nowrap; }
.user-creation-page .interaction-btn i {
    padding: 0;
    border-radius: 0;
    background: transparent !important;
    color: #31483d !important;
    font-size: 18px;
    backdrop-filter: none;
}
.user-creation-page .interaction-btn.like-btn.active i { color: #dd414b !important; background: transparent !important; }
.user-creation-page .interaction-count { padding: 0; background: transparent; color: #596b60 !important; font-size: 12px; backdrop-filter: none; }
.user-creation-page .interaction-btn.share-btn .interaction-count { display: none; }
.user-creation-page .interaction-btn.share-btn::after { content: '分享'; color: #596b60; font-size: 12px; }
.user-creation-page .interaction-btn.collect-btn::after { content: '收藏'; color: #596b60; font-size: 12px; }
.user-creation-page .music-info { display: none; }
.user-creation-page .active-creation-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.user-creation-page .active-creation-tags span { padding: 5px 10px; border-radius: 20px; background: #edf5ef; color: #286649; font-size: 12px; }
.user-creation-page .active-creation-description { color: #5c6a62; font-size: 13px; line-height: 1.8; }
.user-creation-page .active-creation-description button { border: 0; background: none; color: #1e6949; cursor: pointer; }

.user-creation-page .creation-aside { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.user-creation-page .creation-aside.is-empty { display: none; }
.user-creation-page .featured-creator-card { padding: 20px; }
.user-creation-page .featured-creator-head { display: flex; align-items: center; gap: 10px; }
.user-creation-page .featured-creator-head img { width: 55px; height: 55px; flex: none; border-radius: 50%; object-fit: cover; border: 2px solid #e8f2eb; }
.user-creation-page .featured-creator-head > div { min-width: 0; flex: 1; }
.user-creation-page .featured-creator-head strong { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #1b3629; font-size: 16px; }
.user-creation-page .creator-level { display: inline-block; margin-top: 3px; color: #e0834f; font-size: 10px; }
.user-creation-page .featured-creator-head button { flex: none; padding: 6px 13px; border: 0; border-radius: 18px; background: #246a49; color: #fff; cursor: pointer; }
.user-creation-page .featured-creator-head button[hidden] { display: none; }
.user-creation-page .featured-creator-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 22px 0 14px; }
.user-creation-page .featured-creator-stats div { text-align: center; }
.user-creation-page .featured-creator-stats div + div { border-left: 1px solid #e9eee9; }
.user-creation-page .featured-creator-stats strong { display: block; color: #203a2e; font: 600 18px 'Noto Serif SC', 'Songti SC', 'SimSun', serif; }
.user-creation-page .featured-creator-stats span { color: #8c958e; font-size: 11px; }
.user-creation-page .featured-creator-card p { margin: 12px 2px 2px; color: #758079; font-size: 12px; line-height: 1.65; }
.user-creation-page .related-creations-card { padding: 17px 16px; }
.user-creation-page .related-creations-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; }
.user-creation-page .related-creations-head h3 { margin: 0; padding-left: 10px; border-left: 4px solid #1b694b; color: #1c382d; font: 600 17px 'Noto Serif SC', 'Songti SC', 'SimSun', serif; }
.user-creation-page .related-creations-head span { color: #98a19a; font-size: 12px; }
.user-creation-page .related-creations-list { display: flex; flex-direction: column; gap: 11px; }
.user-creation-page .related-creation-item { display: flex; gap: 10px; align-items: center; width: 100%; padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
.user-creation-page .related-creation-thumb { width: 89px; height: 66px; flex: none; overflow: hidden; border-radius: 7px; background: #deeee3; }
.user-creation-page .related-creation-thumb { position: relative; }
.user-creation-page .related-creation-thumb img,
.user-creation-page .related-creation-thumb video { display: block; width: 100%; height: 100%; object-fit: cover; }
.user-creation-page .related-creation-play { position: absolute; right: 7px; bottom: 6px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(10, 59, 42, .76); color: #fff; font-size: 9px; pointer-events: none; }
.user-creation-page .related-creation-thumb.has-no-image { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; padding: 6px; background: linear-gradient(135deg, #e1f0e6, #f4efe2); color: #277155; text-align: center; }
.user-creation-page .related-creation-thumb.has-no-image i { font-size: 15px; }
.user-creation-page .related-creation-thumb.has-no-image span { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 9px; line-height: 1.15; }
.user-creation-page .related-creation-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.user-creation-page .related-creation-copy strong { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: #273c30; font-size: 12px; line-height: 1.4; }
.user-creation-page .related-creation-copy small { color: #8b958d; font-size: 11px; }
.user-creation-page .related-creation-item:hover strong { color: #1e744c; }
.user-creation-page .related-empty { margin: 10px 0; color: #8e9b90; font-size: 13px; }

@media (max-width: 1320px) {
    .user-creation-page .creation-container { grid-template-columns: 220px minmax(400px, 1fr) 275px; width: calc(100% - 36px); gap: 12px; }
    .user-creation-page .creation-sidebar { padding: 12px; }
    .user-creation-page .creation-details { padding: 16px; }
    .user-creation-page .interaction-buttons { gap: 8px; }
}
