#ppkao {
    display: flex;
    flex-direction: column;
}
.layout-container {
    min-height: calc(100vh - 300px);
}
.head {
    padding: 0 var(--head-x-padding);
    height: var(--head-height);
    background-color: var(--card-bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 2025;
    width: 100%;
}
.head .header {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: var(--web-wdith);
}
.head .header .nav {
    height: 100%;
    display: flex;
    align-items: center;
}
.head .header .nav .logo {
    cursor: pointer;
    width: 118px;
    display: block;
    margin-right: 76px;
}

 .category-tab {
    color: var(--title-color);
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 100%;
}
.category-tab li:first-child {
    margin-left: 0;
}
.category-tab li {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    cursor: pointer;
    text-align: center;
    margin-left: var(--active-li-ml);
}

.head .user-info {
    display: flex;
    align-items: center;
}
.head .user-info .login-btn {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    cursor: pointer;
    width: var(--avatar-size);
    height: var(--avatar-size);
    border-radius: 50%;
    background: var(--login-box-color);
    color: var(--login-text-color);
    font-size: 12px;
    opacity: 1;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}
.head .user-info .avatar {
    border-radius: 50%;
    cursor: pointer;
    width: var(--avatar-size);
}
.el-popper {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease; /* 添加平滑过渡 */
    position: fixed;
    background: #fff;
    border: 1px solid #ebeef5;
    border-radius: 28px;
    box-shadow: 0 0 12px #0000001f;
    box-sizing: border-box;
    min-width: 150px;
    overflow-wrap: break-word;
    padding: 12px;
    z-index: 2026;
    inset: 86px auto auto 1398px;
    width: 260px;
}
.el-popper.show {
    opacity: 1;
    visibility: visible;
}
.info-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-box .uid {
    user-select: text;
    color: var(--primary-text-color);
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-top: 6px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}

.info-box .uid .copy {
    width: 1em;
    cursor: pointer;
    fill: var(--primary-color);
}

.info-box .num {
    color: var(--primary-text-color);
    display: flex;
    align-items: center;
    font-size: 14px;
}

.info-box .num .refresh {
    color: var(--primary-color);

    text-decoration: underline;
    cursor: pointer;
    margin-left: 6px;
    width: 16px;
    height: 16px;
    fill: #0479FF;
}

.info-box .num .loading {
    animation: spin 500ms linear infinite;
}

.info-box ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    position: relative;
}

.info-box ul::after {
    position: absolute;
    content: "";
    display: block;
    height: 100%;
    left: 50%;
    top: 0;
    width: 1px;
    background: linear-gradient(180deg, var(--toolbar-line));
}

.info-box ul::before {
    position: absolute;
    content: "";
    display: block;
    left: 0;
    top: 50%;
    margin-top: -1px;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--toolbar-line));
}

.info-box ul li {
    list-style: none;
}

.info-box ul li a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 18px 28px;
}

.info-box ul li a span {
    color: var(--primary-text-color);
    font-size: 12px;
    margin-top: 10px;
}
.el-popper__arrow {
    top: -5px;
    height: 10px;
}
.el-popper__arrow, .el-popper__arrow::before {
    height: 10px;
    position: absolute;
    width: 10px;
    z-index: -1;
}
.el-popper__arrow::before {
    border-top-left-radius: 2px;
    background: #fff;
    border: 1px solid #e4e7ed;
    content: " ";
    transform: rotate(45deg);
    border-bottom-color: transparent !important;
    border-right-color: transparent !important;
}
.exit {
    cursor: pointer;
}

.box {
    max-width: var(--web-wdith);
    margin: var(--topic-list-pt) auto 0;
    display: flex;
    justify-content: space-between;
}
.box-result {
    flex: 1;
    max-width: calc(var(--web-wdith) - 350px);
    margin-right: 20px;
    border-radius: 8px;
}
.search-box {
    width: 100%;
    transition: all 0.3s;
    background: url(https://static.ppkao.com/www/images/search-bg.png) no-repeat, linear-gradient(0deg, rgba(179, 199, 233, var(--bg-opacity)), rgba(0, 120, 255, var(--bg-opacity)));
    border-radius: 8px;
    padding: var(--search-box-padding);
}
.search-box .type-list {
    display: flex;
    align-items: flex-end;
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--input-placeholder-size);
    height: var(--input-placeholder-size);
}
.search-box .type-list .active {
    font-size: var(--input-tab-size);
    transition: all 0.3s;
    color: #FFFFFF;
}
.search-box .type-list li {
    margin-right: var(--search-li-mr);
    cursor: pointer;
    transition: font-size 0.15s;
    user-select: none;
}
.search-box .input-wrap {
    width: 100%;
    height: var(--input-wrap-height);
    margin-top: var(--input-wrap-pt);
    background-color: var(--border-color);
    transition: all 0.3s;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}
.search-box .input-wrap .search-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: var(--input-wrap-padding);
    transition: all 0.3s;
}
.search-wrap textarea {
    width: 100%;
    resize: none;
    overflow: auto;
    flex: 1;
    line-height: var(--search-linheight);
    color: var(--title-color);
}

.search-wrap textarea::placeholder {
    color: #9D9DB0;
    font-size: var(--global-font-size);
    letter-spacing: 1px;
}

.search-wrap textarea::-webkit-scrollbar {
    width: 4px;
    cursor: pointer;
}

.search-wrap textarea::-webkit-scrollbar-thumb {
    background: #D6E3E9;
    border-radius: 4px;
}

.search-wrap textarea:hover::-webkit-scrollbar {
    width: 8px;
}

.search-wrap textarea::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.tool-bar {
    display: none;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 10px;
}

.tool-bar .char-count {
    font-size: 14px;
}
.tool-bar .char-count i {
    color: rgb(4, 121, 255);
    font-size: 14px;
}
.tool-bar .btn-group {
    display: flex;
}

.tool-bar .btn-group button {
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
}

.tool-bar .ai-btn.disable-btn {
    background: #BFCBD1;
}

.tool-bar .ai-btn {
    background: linear-gradient(-48deg, #6359BC, #0F0B12, #0F0B12, #632D62);
    color: white;
    margin-right: 6px;
    width: var(--search-btn-w);
    height: var(--search-btn-h);
    text-align: center;
    border-radius: 10px;
    font-size: var(--search-btn-font-size);
    cursor: pointer;
}

.tool-bar .text-btn.disable-btn {
    background: #BFCBD1;
}

.tool-bar .text-btn {
    width: var(--search-btn-w);
    height: var(--search-btn-h);
    text-align: center;
    background: linear-gradient(0deg, #76B4FF, #0379FF);
    border-radius: 10px;
    font-size: var(--search-btn-font-size);
    cursor: pointer;
    color: #FFFFFF;
}

.topic-box {
    display: flex;
    flex-direction: column;
}
.title {
    margin-bottom: 10px;
    white-space: nowrap;
}
.title-badge {
    border-radius: 6px;
    font-size: 12px;
    font-weight: 400;
    padding: 4px 8px;
    background-color: var(--badge-bg-color);
    margin-right: 8px;
    line-height: 24px;
    min-width: 52px;
    display: inline;
}
.title-wrap {
    font-size: var(--global-font-size);
    font-weight: 600;
    line-height: 26px;
    display: inline;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
}
.topic-wrap {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: var(--topic-wrap-size);
    font-weight: 400;
    line-height: 28px;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
}

.mobile {
    background: linear-gradient(180deg, #202020 0%, #4E545B 100%);
    border: 1px solid #000;
    height: 41px;
}
.answer {
    margin-top: 20px;
    margin-bottom: 10px;
}
.analysis {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
}
.qrcode-box {
    text-align: center;
}
.topic-detail {
    padding: 30px;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--card-bg-color);
    margin-top: 12px;
}
.topic-box {
    display: flex;
    flex-direction: column;
}
.title {
    margin-bottom: 10px;
    white-space: nowrap;
}
.title-badge {
    border-radius: 6px;
    font-size: 12px;
    font-weight: 400;
    padding: 4px 8px;
    background-color: var(--badge-bg-color);
    margin-right: 8px;
    line-height: 24px;
    min-width: 52px;
    color: var(--primary-color);
    display: inline;
}



.look-answer{
    display: flex;
    align-items: center;
}
.viewAnswerBtn,.mobileViewBtn {
    padding: 0 10px;
    display: flex ;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    width: auto;
    height: var(--look-btn-h);
    line-height: var(--look-btn-h);
    text-align: center;
    background: linear-gradient(180deg, #0479FF 30%, #7BB9FF 100%);
    border-radius: 8px;
    font-size: var(--global-font-size);
    cursor: pointer;
    color: #fff;
}
.mobileBtn {
    background: linear-gradient(180deg, #202020 0%, #4E545B 100%);
}
.answer-box {
    margin-bottom: 16px;
}
 .answer-title {
    color: var(--primary-text-color);
    font-size: 16px;
    font-weight: 600;
}
 .answer-box .answer-wrap {
     color: var(--answer-color);
     font-size: 16px;
     opacity: 1;
     font-weight: 500;
     line-height: 24px;
 }
.analysis-box {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
}
.analysis-box .analysis-wrap {
    color: var(--analysis-color);
    font-size: 16px;
    opacity: 1;
    font-weight: 400;
    line-height: 28px;
    margin-top: 10px;
}
.qrcode-box {
    text-align: center;
}
.head-title {
    display: flex;
    align-items: center;
    padding-bottom: var(--search-box-mt);
    border-bottom: 1px solid var(--border-2-color);
}
.head-title  h1 {
    color: var(--primary-text-color);
    font-size: 20px;
    opacity: 1;
    font-weight: 600;
    margin-left: 10px;
    margin-bottom: 2px;
}
.topic-item {
    border-bottom: 1px solid var(--search-border-color);
    padding-bottom: var(--search-box-mt);
    margin-top: var(--search-box-mt);
}
.topic-item:last-child {
    border-bottom: none;
}

.footer {
    position: relative;
    z-index: 1000;
    width: 100%;
    height: var(--footer-h);
    margin-top: var(--footer-mt);
    background-color: var(--card-bg-color);
}

.footer img {
    opacity: var(--bg-opacity);
}

.footer-wrap {
    width: var(--footer-w);
    height: auto;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--h3-mt) 0;
}

.footer-wrap .qrcode {
    display: flex;
    align-items: center;
}

.footer-wrap .qrcode-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 70px;
}

.footer-wrap .qrcode-box img {
    width: 120px;
    margin-bottom: 6px;
}

.footer-wrap .qrcode-box span {
    color: var(--title-color);
    line-height: 16px;
    text-align: center;
}

.mobile-copyright {
    width: 100%;
    padding: 12px;
}

.mobile-copyright p {
    line-height: 20px;
    margin-bottom: 8px;
    text-align: center;
}

.mobile-copyright p:nth-child(3) img {
    margin-right: 20px;
    margin-bottom: 6px;
}

.copyright {
    color: var(--title-color);
    display: flex;
    flex-direction: column;
}

.copyright p:nth-child(2) {
    margin: 26px 0;
}

.copyright p:nth-child(2) a {
    margin-right: 20px;
}

.copyright p:nth-child(3) {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-ellipsis-multiple {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Change 2 to any row number */
    -webkit-box-orient: vertical;
}
.qrcode-popover.show {
    opacity: 1;
    visibility: visible;
}
.qrcode-popover {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 2018;
    position: absolute;
    inset: 1054px auto auto 553px;
    width: 150px;
    background: #ffffff;
    border: 1px solid #ebeef5;
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(0,0,0,0.12);
    color: #606266;
    font-size: 14px;
    min-width: 150px;
    overflow-wrap: break-word;
    padding: 12px;
}
.topic-qrcode-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.topic-qrcode-box img {
    width: 120px;
}
.topic-qrcode-box span {
    text-align: center;
    margin-top: 6px;
    color: var(--title-color);
    font-size: 14px;
    opacity: 1;
    font-weight: 500;
}
.qrcode-popper__arrow {
    position: absolute;
    top: 78px;
    left: -5px;
    height: 10px;
    width: 10px;
    z-index: -1;
}
.qrcode-popper__arrow::before {
    content: " ";
    height: 10px;
    position: absolute;
    width: 10px;
    z-index: -1;
    transform: rotate(45deg);
    border: 1px solid #e4e7ed;
    border-bottom-left-radius: 2px;
    border-right-color: transparent !important;
    border-top-color: transparent !important;
    right: 0;
    background: #ffffff;
}
.el-overlay.show {
    opacity: 1;
    visibility: visible;
}
.el-overlay {
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    background-color: rgba(0,0,0,0.5);
    bottom: 0;
    height: 100%;
    left: 0;
    overflow: auto;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 2107;
}
.el-overlay-dialog {
    bottom: 0;
    left: 0;
    overflow: auto;
    position: fixed;
    right: 0;
    top: 0;
}
.el-dialog.show {
    transform: translateY(0);
}
.el-dialog {
    transition: transform 0.5s ease;
    transform: translateY(-50px);
    background: #fff;
    box-shadow: 0px 12px 32px 4px rgba(0,0,0,0.04),0px 8px 20px rgba(0,0,0,0.08);
    box-sizing: border-box;
    margin: 15vh auto 50px;
    overflow-wrap: break-word;
    position: relative;
    width: 460px;
}
.dialog__body {
    color: #606266;
    font-size: 14px;
}
.close-dialog {
    position: absolute;
    right: -50px;
    width: 38px;
    cursor: pointer;
}
.dialog__body .wrap{
    background: linear-gradient(to bottom, #F05613 10%, #FFC4AA 40%);
    position: relative;
    width: 100%;
    height: 630px;
    display: flex;
    justify-content: center;
}

.loading {
    width: 20px;
    height: 20px;
    margin-right: 2px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
.empty-box {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 358px;
}
.empty-box p {
    margin-top: 30px;
    @include font(var(--title-color), 16px);
    font-size: 16px;
    max-width: 80%;
    text-align: center;
    line-height: 24px;
}

@media (max-width: 1199px) {
    .qrcode-right, .logo,.mobileViewBtn,.footer-qr,.qrcode-popover  {
        display: none !important;
    }
    .copyright {
        padding: 12px;
        width: 100%;
        align-items: center;
    }
    .copyright p {
        text-align: center;
    }
    .copyright p:nth-child(2) {
        margin: 12px 0;
    }
    .head-title  h1 {
        font-size: 16px;
    }
    .box-result {
        flex: 1;
        max-width: 100%;
        margin-right: 0;
    }
    :root {
        --input-box-height: auto;
        --input-wrap-height: auto;
        --input-wrap-padding: 8px;
        --input-placeholder-size: 14px;
        --input-tab-size: 16px;
        --search-box-padding: 14px;
        --active-li-ml: 25px;
        --head-x-padding: 8px;
        --head-height: 60px;
        --avatar-size: 40px;
        --global-font-size: 14px;
        --web-wdith: calc(100% - 22px);
        --search-box-mt: 12px;
        --input-wrap-pt: 12px;
        --search-btn-w: 66px;
        --search-btn-h: 32px;
        --search-btn-font-size: 14px;
        --search-linheight: 18px;
        --search-tool-font: 12px;
        --left-card-right: 0;
        --card-topic-a-p: 16px;
        --error-width: 94%;
        --card-padding: 12px;
        --card-title: 14px;
        --slide-block: none;
        --card-head-border: none;
        --card-topic-w: 100%;
        --card-height: auto;
        --card-head-padding: 10px;
        --topic-size: 100%;
        --topic-wrap-size: 14px;
        --topic-wrap-w: 100%;
        --topic-title-ml: 10px;
        --title-line-1-w: 10.1em;
        --title-line-1-h: 47px;
        --title-line-2-w: 12.4em;
        --footer-mt: 20px;
        --footer-w: 100%;
        --footer-h: auto;
        --tiku-layout: block;
        --tiku-card-mr: 16px;
        --topic-list-pt: 12px;
        --pagination-link-p: 6px 10px;
        --pagination-item-mr: 0;
        --pagination-margin: 10px 0;
        --look-btn-w: 86px;
        --look-btn-h:32px;
        --look-btn-font-size: 14px;
        --coolpase-lh: 16px;
        --h3-mt: 0;
        --search-box-w: 100%;
        --topic-card-font: 24px;
        --topic-card-font-size: 22px;
        --topic-look-btn-w: auto;
    }
    .topic-detail {
        padding: 12px;
    }
}
.info-buy {
    cursor: pointer;
}
