/* 布局样式 */
.layout-wrapper {
    display: flex;
    height: calc(100vh - 64px);
}

.content-flexible {
    width: 100%;
    padding: 0 24px;
}

/* 主内容区样式 */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: CapCut Sans, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

/* 内容区域样式 */
.content-wrapper {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0 20px 20px;
    background: #f5f7fb;
    border-top-left-radius: 10px;
    border-top: 1px solid #e5e7eb;
    border-left: 1px solid #e5e7eb;
    display: flex;
    gap: 20px;
}

.content-wrapper::-webkit-scrollbar,
.c-right::-webkit-scrollbar,
.detail-section-content::-webkit-scrollbar {
    width: 1px;
}

.content-wrapper::-webkit-scrollbar-track,
.c-right::-webkit-scrollbar-track,
.detail-section-content::-webkit-scrollbar-track {
    background: #e0e1e1;
}

.content-wrapper::-webkit-scrollbar-thumb,
.c-right::-webkit-scrollbar-thumb,
.detail-section-content::-webkit-scrollbar-thumb {
    background: #bfbfc1;
    border-radius: 999px;
}

.content-wrapper,
.c-right,
.detail-section-content {
    scrollbar-width: thin;
    scrollbar-color: #bfbfc1 #e0e1e1;
}
.detail-section-content .pic{
    position: relative;
}
.c-left {
    width: 70%;
    display: flex;
}
.c-center {
    display: flex;
    flex-direction: column;
    width: 40px;
    justify-content: center;
}
.close {
    cursor: pointer;
    display: none;
}
.pagination {
    display: flex;
    flex-direction: column;
    gap: 50px;
    font-size: 20px;
}
.pagination .prev,
.pagination .next {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    color: #fff;
    position: relative;
}
.pagination i{
    font-size: 18px;
    color: #1d232a;
}
.pagination a{
    width: 40px;
    height: 40px;
    position: absolute;
    opacity: 0;
}
.c-right {
    width: 440px;
    border-image-outset: 0;
    border-image-repeat: stretch;
    border-image-slice: 1;
    border-image-source: linear-gradient(180deg, hsla(0, 0%, 100%, 0) -1.77%, rgba(215, 218, 224, .15) 23.67%, rgba(183, 189, 200, .276) 49.12%, rgba(170, 177, 190, .15) 74.56%, rgba(122, 133, 153, 0));
    border-image-width: 1px 0 1px 1px;
    overflow-y: auto;
    padding: 0 30px 50px 40px;
    right: 0;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    transition: width .5s cubic-bezier(.4, 0, .2, 1), transform .3s cubic-bezier(.4, 0, .2, 1), max-width .5s cubic-bezier(.4, 0, .2, 1);
}

.detail-card .title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.author-info {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
}

.author-main {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-name {
    font-weight: 600;
    font-size: 14px;
    color: #0f1419;
}

.btn-follow {
    align-items: center;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    box-sizing: border-box;
    color: rgb(15, 20, 25);
    cursor: pointer;
    display: flex;
    font-size: 10px;
    font-weight: 600;
    gap: 2px;
    height: 24px;
    justify-content: center;
    min-width: 48px;
    padding: 0 6px;
    border: none;
}

.btn-follow:hover {
    background: rgba(0, 0, 0, 0.07);
}
.btn-follow.followed {
    color: rgb(83 100 113 / 36%);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #6b7280;
    font-family: Montserrat;
    font-size: 14px;
}

.header-actions .content_act {
    display: flex;
    align-items: center;
    gap: 4px;
}
.header-actions .fav {
    cursor: pointer;
}
.header-actions .other {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.header-actions .other:hover {
    background: rgba(0, 0, 0, 0.07);
}
.header-actions .other.active {
    background: rgba(0, 0, 0, 0.07);
}
.detail-sub {
    padding-bottom: 16px;
    color: #6b7280;
    font-size: 12px;
    border-bottom: .5px solid rgb(0 0 0 / 5%);
}

.detail-sub span+span::before {
    content: "·";
    margin: 0 4px;
}

.detail-des {
    margin-top: 20px;
    font-size: 12px;
    padding: 10px;
    background: rgb(0 0 0 / 5%);
    border-radius: 5px;
}
.detail-section {
    margin-top: 20px;
}
.detail-section-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: rgb(114, 128, 138);
}

.detail-section-content {
    font-size: 14px;
    line-height: 1.7;
    color: rgb(15, 20, 25);
    white-space: pre-wrap;
    display: flex;
    gap: 10px;
    word-break: break-word;
    overflow-wrap: break-word;
    align-items: flex-start;
}
.detail-section-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    flex-shrink: 1;
    min-width: 0;
    object-fit: contain;
}
.detail-footer {
    align-items: center;
    align-self: stretch;
    display: flex;
    gap: 4px;
    font-size: 13px;
}
.detail-footer i {
    top: 0;
}
.footer-btn {
    align-items: center;
    background: rgb(0 0 0 / 5%);
    border-radius: 8px;
    color: #0f1419;
    column-gap: 4px;
    cursor: pointer;
    display: flex;
    flex: 1 1;
    height: 32px;
    justify-content: center;
    min-width: 80px;
    padding: 4px 16px 4px 14px;
    border: none!important;
    margin-top: 20px;
}



.other-menu-layer.layui-layer-tips .layui-layer-content {
    padding: 0;
    border-radius: 10px;
    background: #ffffff;
    color: #111827;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.other-menu-layer .layui-layer-TipsG {
    display: none;
}

.other-menu {
    min-width: 140px;
    padding: 6px 0;
}

.other-menu-item {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    font-size: 13px;
    color: #0f1419;
    cursor: pointer;
}

.other-menu-item i {
    margin-right: 8px;
}

.other-menu-item:hover {
    background: #f3f4f6;
}

/* Smart Product Analysis & Smart Shop Analysis */
.spa-box {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 4px;
}
.spa-comparison {
    background: #eef6fc;
}
.spa-title {
    margin-top: 0;
    font-weight: bold;
    color: #0056b3;
}
.spa-text {
    white-space: pre-wrap;
    line-height: 1.6;
    color: #333;
}
.spa-item-title {
    margin-top: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}
.spa-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 20px;
}
.spa-sub-title {
    font-weight: bold;
    margin: 0;
}
.spa-list {
    padding-left: 10px;
    margin-bottom: 20px;
}
.spa-list-item-rec {
    margin-bottom: 5px;
    padding: 8px;
    background: #f9f9f9;
    border-radius: 4px;
    border-left: 3px solid #007bff;
}
.spa-icon-check {
    margin-right: 5px;
}
.spa-strategy-box {
    margin-bottom: 20px;
}
.spa-strategy-content {
    white-space: pre-wrap;
    line-height: 1.6;
    color: #333;
    padding: 15px;
    background: #f0f9eb;
    border-radius: 4px;
    border: 1px solid #dff0d8;
}
.spa-prompts-title {
    font-weight: bold;
    margin-bottom: 10px;
}
.spa-prompt-card {
    margin-bottom: 10px;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 4px;
    background: #f9f9f9;
}
.spa-prompt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #e5e5e5;
}
.spa-prompt-label {
    font-weight: bold;
    color: #666;
    font-size: 12px;
}

/* Smart Shop Analysis */
.ssa-card {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid transparent;
}
.ssa-pos {
    background: #f0f9eb;
    border-color: #dff0d8;
}
.ssa-target {
    background: #eef6fc;
    border-color: #d6e9c6;
}
.ssa-visual {
    background: #fdf7f7;
    border-color: #f2dede;
}
.ssa-oper {
    background: #fcf8e3;
    border-color: #faebcc;
}
.ssa-improve {
    background: #f5f5f5;
    border-color: #e3e3e3;
}
.ssa-raw {
    background: #fff;
    border-color: #eee;
}
.ssa-title {
    margin: 0;
    font-weight: bold;
}
.text-green-dark { color: #3c763d; }
.text-blue-dark { color: #31708f; }
.text-red-dark { color: #a94442; }
.text-yellow-dark { color: #8a6d3b; }
.text-dark { color: #333; }
.c-text {
    font-size: 14px;
    line-height: 1.6;
    overflow-y: auto;
}

.ai_have_fav {
    color: #ff4d4f;
}
.ai_agree {
    cursor: pointer;
}
.ai_have_agree i{
    color: #ff4d4f;
}
.glyphicon{
   top: 0;
}   
.layui-form-onswitch {
    border-color: #1677ff;
    background-color: #1677ff;
}
.layui-layer-btn .layui-layer-btn0 {
    border-color: #1677ff;
    background-color: #1677ff;
    color: #fff;
}
.video-show-box{
    position: relative;
}
.ShowImgsBox button,.detail-section-content .pic button{
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 5px;
	background-color: #e6f7ff;
    color: #1890ff;
	border-radius: 5px;	
	text-align: center;
	border: none;
	z-index: 100;
	cursor: pointer;
    display: none;
}
.ShowImgsBox:hover button,.detail-section-content .pic:hover button{
    display: block;
}

.ShowImgsBox button i,.detail-section-content .pic button i{
    display: block;
}
.layui-form-select dl dd.layui-this{
    background-color: #1890ff;
}