/*
Theme Name: NDNAV-Child
Theme URI: https://www.bcy.ink
Template: ndnav
Author: LiNan
Author URI: https://www.bcy.ink
Description: 简约大气昼夜WordPress免费导航主题
Tags: WordPress导航主题
Version: 2.17
Updated: 2024-02-15

*/

* a:hover {
    color: #409eff !important;
    text-decoration: none;
}

blockquote {
    border-left: 4px solid var(--primary-color);
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
    line-height: 28px;
    padding: 10px 0 10px 20px;
    font-style: normal;
}

.gotop a:hover {
    color: #fff !important;
}

.cat a:hover {
    color: #fff !important;
}

.join a:hover {
    color: #fff !important;
}

.tags {
    display: flex;
    flex-wrap: wrap;
}

.tags a:hover {
    color: #fff !important;
    background: var(--primary-color);
}

.siteSingle .desc a {
    text-decoration: underline;
}

.navBar .logo {
    line-height: normal;
    height: 38px;
    width: 72px;
}

.navBar .logo h1 {
    font-size: 0px;
}

.search {
    max-width: 680px;
    padding-bottom: 15px;
    padding-top: 15px;
}

.b-r-4 {
    -moz-border-radius: 5px !important;
    -webkit-border-radius: 5px !important;
    -o-border-radius: 5px !important;
    border-radius: 5px !important;
}

.hots {
    list-style: none;
    padding: 0px 12px;
    overflow: auto;
    max-height: 188.5px;
}

.hots li a {
    font-size: 13px;
    letter-spacing: .5px;
    padding: 8px;
}

.hots li:last-child a {
    padding-bottom: 16px;
}

.navBar {
    background-color: #fff;
}

.gotop a:hover {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    -o-box-shadow: none;
    box-shadow: none;
    -moz-transform: translateY(0);
    -webkit-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
}

.weather .wea_free_tem {
    margin: 6px auto 0;
    display: table;
    height: 84px;
    font-size: 42px;
    color: #fff;
    line-height: 84px;
    position: relative;
}

.weather .wea_tem::after {
    content: '℃';
    position: absolute;
    right: -35px;
    top: 12px;
    font-size: 32px;
    color: #fff;
    line-height: 32px;
}

.uk-animation-slide-left-small .uk-grid {
    justify-content: flex-start;
}

/* 定义滚动条样式 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background-color: #888;
    border-radius: 10px;
}

/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 0px #888;
    border-radius: 10px;
    background-color: #888;
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    box-shadow: inset 0 0 0px var(--primary-color);
    background-color: var(--primary-color);
}

.uk-margin-remove-bottom p:nth-child(3) {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link {
    border: 1px dashed var(--border-color);
    color: #909399;
}

.author {
    color: #909399;
}

.uk-link,
a {
    color: #909399;
    text-decoration: none;
    cursor: pointer;
}

.uk-flex-1 li:last-child {
    margin-right: 0px;
}

.ui-margin-top {
    margin-top: 30px;
}

.ui-padding {
    padding: 40px;
}

/* 评论 */

.comments-title {
    position: relative;
    padding-bottom: 10px;
    font-size: 18px;
    margin-top: 0px;
}

h3.comments-title:after {
    position: absolute;
    content: '';
    top: 29px;
    left: 0;
    width: 135px;
    height: 1px;
    background: rgb(0, 0, 0)
}

.commentCount {
    color: rgb(0, 0, 0)
}

.commentlist {
    list-style: none;
    margin: 10px 0 0;
    padding: 0
}

.commentlist ol {
    list-style: none
}

.comment {
    padding-top: 10px
}

.comment .media-left {
    display: table-cell;
    vertical-align: top;
    padding-right: 10px
}

.comment .media-left img {
    border-radius: 50%
}

.comment .media-body {
    display: table-cell;
    vertical-align: top
}

.comment .media-body .author_name {
    margin-bottom: 5px;
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 600;
}

.comment .comment-metadata {
    margin-left: 58px;
    padding: 5px 0
}

.comment .comment-metadata span {
    margin-right: 15px;
    font-size: 13px
}

.comment .comment-metadata span {
    font-size: 12px;
    color: #909399
}

.comment .comment-metadata span.comment-btn-reply a:hover {
    color: #666
}

.comment .comment-metadata span.comment-btn-reply i {
    color: #d1d1d1
}

.comment .comment-metadata span.comment-btn-reply a {
    color: #909399
}

.commentlist>.comment {
    border-bottom: 1px solid #d9d9d9
}

.commentlist .children {
    padding-left: 20px
}

.commentlist .children>.comment {
    border-top: 1px solid #d9d9d9
}

.warning-text {
    color: #000;
}

.link-logout {
    color: #000
}

.comment-navigation {
    width: 100%;
    margin: 0 auto;
    padding: 15px 0;
    text-align: center
}

.comment-navigation .page-numbers {
    display: inline-block;
    padding: 9px 16px;
    color: #909399;
    background: #F7F8FC;
    border-radius: 3px;
    transition: all .3s;
}

.comment-navigation .page-numbers:hover {
    background: var(--primary-color);
    color: #fff !important;
}

.comment-navigation .current,
.comment-navigation .current:hover {
    background: var(--primary-color);
    color: #fff
}

.commentform-info {
    float: left
}

.commentform-info input {
    margin-right: 10px;
    width: 230px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #f5f5f5;
    font-weight: 400;
    transition: background .5s
}

.commentform-info input:focus {
    box-shadow: none;
    color: #fff !important;
    background: #069
}

.commentform-info input:focus:-moz-input-placeholder {
    color: #fff
}

.commentform-info input:focus::-moz-input-placeholder {
    color: #fff
}

.commentform-info input:focus::-webkit-input-placeholder {
    color: #fff
}

.commentform-info input:focus:-ms-input-placeholder {
    color: #fff
}

.commentBtn .btn {
    padding: 8px 0;
    width: 140px !important;
    text-align: center;
    background: #069;
    border: 0
}

.commentBtn .btn:hover {
    opacity: .8
}

.comment-text {
    margin: 0;
    margin-top: 0.625rem;
    font-size: 1rem;
    letter-spacing: 0.01em;
    color: #313131;
}

.comment-meta {
    display: flex;
    padding: 10px;
    margin-right: 0px;
    align-content: flex-end;
    align-items: flex-end;
    flex-direction: column;
}

.projects-nav__height {
    height: 500px;
}

.contact-me {
    display: flex;
}

.wzt-padding {
    padding-right: 20px;
}

.contact {
    padding-bottom: 5.5em;
    ;
}

.copy {
    display: block;
    text-align: center;
}

.comment-reply-title {
    margin-bottom: 10px;
    margin-top: 20px;
}

textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid #a3a1a1;
    border-radius: 0;
    color: #1a1a1a;
    display: block;
    font-family: inherit;
    font-size: 14px;
    height: 40px;
    line-height: 38px;
    margin-bottom: 10px;
    padding: 0;
    transition: border-color cubic-bezier(.4, .01, .165, .99);
    width: 100%;
    height: 100%;
    line-height: inherit;
    padding-bottom: 10px;
    resize: vertical;
    margin: 30px 0px;
}

textarea:focus {
    border-color: #000;
    outline: 0;
}

.form-submit {
    display: flex;
    justify-content: flex-end;
}

.submit-button {
    background-color: var(--primary-color);
    background-image: linear-gradient(200deg, var(--primary-color), #007bff);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
    outline: 0;
    padding: 13px 26px;
    text-align: center;
    text-transform: uppercase;
}

.comment-form-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.ui-margin-top input[type=text] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid #a3a1a1;
    border-radius: 0;
    color: #1a1a1a;
    display: block;
    font-family: inherit;
    font-size: 14px;
    height: 40px;
    line-height: 38px;
    margin-bottom: 10px;
    padding: 0;
    transition: border-color cubic-bezier(.4, .01, .165, .99);
    width: 100%;
}

.ui-margin-top input[type=text]:focus {
    border-color: #000;
    outline: 0;
}

.comment-form-cookies-consent {
    margin-bottom: 10px;
}

.media-left img {
    max-width: none;
}

/* 投稿 */

.upload_img {
    width: 40px;
    background-color: #fff;
    position: relative;
    display: table;
    overflow: hidden;
    cursor: pointer;
    text-align: center;
    border-radius: 5px;
    transition: .3s;
}

.vcode {
    font-size: 18px;
}

.search input {
    border: 0;
    border-radius: 4px 0 0 4px;
    height: 46px;
    text-indent: 25px;
    font-size: 1rem;
}

.post-abstract {
    height: 60px;
}

.search input,
.tougao input {
    color: #000 !important;
}

.wp-caption {
    max-width: 100%;
    position: relative;
}

.singleWarp img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}


/* 夜间样式 */

.night blockquote {
    border-left: 4px solid var(--primary-color);
    color: #606266;
    font-size: 14px;
    font-weight: 500;
    line-height: 28px;
    padding: 10px 0 10px 20px;
    font-style: normal;
}

.night .b-a {
    border: none !important;
}

.night .gotop a:hover {
    background: var(--primary-color);
    color: #fff;
}

.night .navBar {
    background-color: #313c5c;
}

.night h4 {
    color: var(--night-text) !important;
}

.night .responsesWrapper a {
    color: #909399 !important;
}

.night .responsesWrapper a:hover {
    color: #409eff !important;
}

.night .comments-title {
    color: var(--night-text);
}

.night .commentCount {
    color: var(--night-text);
}

.night h3.comments-title:after {
    background: var(--night-text);
}

.night .comment-text {
    color: var(--night-text);
}

.night .comment .media-body .author_name {
    color: var(--night-text);
}

.night .mt-4 {
    color: #909399;
}

.night .commentlist>.comment {
    border-bottom: 1px solid #999
}

.night .commentlist .children>.comment {
    border-top: 1px solid #999
}

.night .comment-navigation .page-numbers {
    background: var(--night-bg);
    color: #bbb;
}

.night .comment-navigation .page-numbers:hover {
    background: var(--primary-color);
    color: #fff !important;
}

.night .comment-navigation .current,
.comment-navigation .current:hover {
    background: var(--primary-color);
    color: #fff !important;
}

.night .comment-reply-title {
    color: var(--night-text);
}

.night .warning-text {
    color: var(--night-text);
}

.night textarea,
input[type=text] {
    color: var(--night-text);
}

.night textarea:focus {
    border-color: #ffffff;
    outline: 0;
}

.night input[type=text] {
    color: var(--night-text);
}


.night .ui-margin-top input[type=text]:focus {
    border-color: #ffffff;
    outline: 0;
}

.night .comment-form-info p {
    color: var(--night-text) !important;
}

.night .tougao h1 {
    color: var(--night-text);
}

.night .vcode {
    color: var(--night-text);
    font-size: 18px;
}

/* 自适应 */

@media screen and (min-width: 960px) {
    .uk-slider-container .uk-grid {
        justify-content: space-around;
    }
}

@media screen and (max-width: 640px) {
    .search {
        max-width: 90% !important;
    }
    
    .card {
        padding-left: 0px;
    }

    .nav {
        margin-top: 10px !important;
    }

    *+.uk-grid-margin,
    .uk-grid+.uk-grid,
    .uk-grid>.uk-grid-margin {
        margin-top: 15px;
    }

    .mobile-width {
        width: 50% !important;
        padding-left: .5rem !important;
        padding-right: .5rem !important;
    }

    .mobile-width a {
        border-bottom: none !important;
    }

    .site {
        padding: 10px;
    }

    .site .item {
        padding-bottom: 0px;
    }

    .site .info {
        display: none;
    }

    .uk-grid {
        align-items: center;
        margin-left: 0px;
    }

    /* 内页 */
    .uk-grid-column-small>*,
    .uk-grid-small>* {
        padding-left: 0px;
    }

    .uk-grid>* {
        padding-left: 0px;
    }

    .siteSingle .tags a {
        font-size: 12px;
        margin-bottom: 5px;
        margin-right: 5px;
    }

    .site a {
        border-bottom: none !important;
    }

    /* 列表 */
    .post-abstract {
        height: 55px;
        overflow: hidden;
    }

    /* 评论 */
    .ui-padding {
        padding: 20px !important;
    }

    .media-left img {
        max-width: none;
        width: 32px;
    }

    /* 分类 */
    .category-width {
        padding: 5px 5px;
    }

}

@media screen and (max-width: 960px) {
    .ku-header{
        padding: 0px;
    }
    
    .search {
        max-width: 80%;
    }
    
    .join a {
        margin: 0px;
    }
    
    .siteSingle .icon {
        width: 100%;
    }

    .siteSingle .icon i {
        width: 100px;
        height: 100px;
        display: flex;
    }

    .comment-form-info {
        display: flex;
        margin-bottom: 0px !important;
        flex-direction: column;
    }

    .ui-margin-top input[type=text] {
        margin-bottom: 30px !important;
    }


    .comment-form-info p {
        margin: 0 !important;
    }

}

@media screen and (max-width: 1200px) {
    .sidebar {
        width: 100%;
    }
}

@media screen and (min-width: 1200px) {
    .comment-list-row {
        display: flex;
        justify-content: space-between;
        padding-bottom: 15px;
    }

    .comment-meta {
        display: flex;
        justify-content: center;
        flex-direction: column-reverse;
    }
}

/*表格样式*/
table {
    table-layout: fixed;
    border-collapse: collapse;
}

table thead tr {
    color: #fff;
    text-align: center;
    background-color: rgb(15 131 255);
    height: 48px;
    font-size: 16px;
}

table th {
    padding: 4px 10px 3px 10px;
    border: 1px solid #7889a3;
}

table td {
    text-align: center;
    padding: 4px 10px 3px 10px;
    border: 1px solid #7889a3;
    color: #7889a3;
    overflow: hidden;
    white-space: normal;
}

table td br {
    display: none;
    white-space: nowrap;
}

table td a {
    color: #0f83ff;
}

table tbody tr {
    background: #fff;
    color: #393939;
}

table tbody tr:nth-child(2n) {
    background: #f3f3f3;
}

@media screen and (max-width: 960px){
    table {
            table-layout: fixed !important;
            width: 100% !important;
            border-collapse:collapse;
            border:none;
            font-size:0.23rem;
        }
 
td,th {
            width:1px;
            white-space:nowrap; /* 自适应宽度*/
            word-break:keep-all; /* 避免长单词截断，保持全部 */
            border:solid #676767 1px;
            text-align:center;
            white-space:pre-line;
            word-break:break-all !important;
            word-wrap:break-word !important;
            display:table-cell;
            vertical-align:middle !important;
            white-space: normal !important;
            height:auto;
            vertical-align:text-top;
            padding:2px 2px 0 2px;
            display: table-cell;
        }
}


/* ==========================================================================
   Meme 币种看板
   ========================================================================== */

/* 筛选栏 */
.coin-filter-bar {
    border: 1px solid var(--border-color);
}
.coin-filter-item select {
    min-width: 120px;
}
.coin-count {
    white-space: nowrap;
}

/* 币种卡片 */
.coin-item {
    transition: all .3s;
    border: 1px solid var(--border-color);
}
.coin-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 6px 0px rgba(0,0,0,.05);
}
.coin-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: inherit;
    text-decoration: none;
}
.coin-link:hover {
    color: inherit;
}

/* 图标 */
.coin-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #F7F8FC;
}
.coin-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.coin-icon-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(200deg, var(--primary-color), #007bff);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}

/* 信息区 */
.coin-info {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.coin-top {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.coin-name {
    font-size: 14px;
    font-weight: 600;
    color: #303133;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.coin-chain {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 4px;
    background: #ecf5ff;
    color: var(--primary-color);
    border: none;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.6;
}
.coin-bottom {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}
.coin-price {
    font-size: 14px;
    font-weight: 600;
    color: #303133;
    white-space: nowrap;
}
.coin-change {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}
.meme-change-up { color: #00c853; }
.meme-change-down { color: #ff1744; }
.meme-change-zero { color: #909399; }

/* 价格加载动画 */
.loading-dots {
    font-size: 14px;
}
.loading-dots span {
    animation: dot-pulse 1.4s infinite;
    opacity: 0;
}
.loading-dots span:nth-child(1) { animation-delay: 0s; }
.loading-dots span:nth-child(2) { animation-delay: .2s; }
.loading-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes dot-pulse {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* 夜间模式适配 */
.night .coin-item {
    border-color: var(--night-border);
}
.night .coin-name {
    color: var(--night-text);
}
.night .coin-filter-bar {
    border-color: var(--night-border);
}
.night .coin-icon-placeholder {
    background: linear-gradient(200deg, #409eff, #0056b3);
}
.night .coin-price {
    color: var(--night-text);
}

/* 响应式 */
@media screen and (max-width: 640px) {
    .coin-grid {
        margin-left: -5px;
    }
    .coin-grid > * {
        padding-left: 5px;
    }
    .coin-filter-item select {
        min-width: 100px;
        font-size: 12px;
    }
    .coin-link {
        padding: 10px 12px;
    }
    .coin-icon {
        width: 34px;
        height: 34px;
    }
    .coin-icon-placeholder {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
    .coin-name {
        font-size: 13px;
    }
    .coin-price {
        font-size: 13px;
    }
    .coin-change {
        font-size: 12px;
    }
}

/* ==========================================================================
   Meme 币种详情页
   ========================================================================== */

/* 头部面板 */
.meme-detail-header {
    border: 1px solid var(--border-color);
}

/* 图标 */
.meme-detail-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #F7F8FC;
}
.meme-detail-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.meme-detail-icon-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(200deg, var(--primary-color), #007bff);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
}

/* 名称 */
.meme-detail-name {
    font-size: 22px;
    font-weight: 700;
    color: #303133;
    line-height: 1.3;
}

/* 链/分类标签 */
.meme-detail-chain {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    background: #ecf5ff;
    color: var(--primary-color);
    white-space: nowrap;
    line-height: 1.6;
}
.meme-detail-cat {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    background: #f0f9eb;
    color: #67c23a;
    white-space: nowrap;
    line-height: 1.6;
}

/* 价格 + 涨跌幅 */
.meme-detail-price {
    font-size: 26px;
    font-weight: 700;
    color: #303133;
    line-height: 1.2;
}
.meme-detail-change {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}

/* 合约地址 + 复制按钮 */
.meme-detail-contract {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    background: #F7F8FC;
    color: #606266;
    border: 1px solid var(--border-color);
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}
.meme-copy-btn {
    font-size: 12px;
    padding: 4px 12px;
    border: 1px solid var(--primary-color);
    background: #fff;
    color: var(--primary-color);
    cursor: pointer;
    transition: all .3s;
    line-height: 1.5;
    vertical-align: middle;
}
.meme-copy-btn:hover {
    background: var(--primary-color);
    color: #fff !important;
}
.meme-copy-btn.copied {
    background: #67c23a;
    border-color: #67c23a;
    color: #fff !important;
}

/* 社交媒体图标 */
.meme-detail-social {
    flex-shrink: 0;
}
.meme-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F7F8FC;
    color: #909399;
    font-size: 16px;
    transition: all .3s;
    text-decoration: none;
}
.meme-social-icon:hover {
    color: #fff !important;
}
.meme-social-twitter:hover { background: #1da1f2; }
.meme-social-telegram:hover { background: #0088cc; }
.meme-social-discord:hover { background: #5865f2; }
.meme-social-web:hover { background: var(--primary-color); }
.meme-social-dex:hover { background: #f7931a; }

/* 统计卡片 */
.meme-stat-card {
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 14px 16px;
    text-align: center;
}
.meme-stat-label {
    display: block;
    font-size: 12px;
    color: #909399;
    margin-bottom: 4px;
}
.meme-stat-value {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #303133;
}

/* ==========================================================================
   Tab 导航
   ========================================================================== */
.meme-detail-tabs {
    border: 1px solid var(--border-color);
}
.meme-tab-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--border-color);
    background: #F7F8FC;
}
.meme-tab-nav li {
    margin: 0;
}
.meme-tab-nav li a {
    display: block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #909399;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all .3s;
    line-height: 1.5;
}
.meme-tab-nav li a i {
    margin-right: 4px;
}
.meme-tab-nav li.uk-active a {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}
.meme-tab-nav li a:hover {
    color: var(--primary-color);
}

/* ==========================================================================
   Tab: K线图
   ========================================================================== */
.meme-chart-wrap {
    width: 100%;
}
.meme-chart-iframe {
    width: 100%;
    height: 600px;
    border: 0;
    border-radius: 5px;
}

/* ==========================================================================
   Tab: Meme 图库
   ========================================================================== */
.meme-gallery-item {
    margin-bottom: 10px;
}
.meme-gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    transition: transform .3s;
}
.meme-gallery-item img:hover {
    transform: scale(1.03);
}

/* 上传区域 */
.meme-gallery-upload {
    border-top: 1px solid var(--border-color);
}
.meme-upload-area {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 80px;
    border: 2px dashed var(--border-color);
    cursor: pointer;
    transition: all .3s;
    font-size: 13px;
    color: #909399;
}
.meme-upload-area:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.meme-upload-area input[type="file"] {
    display: none;
}

/* ==========================================================================
   夜间模式 - 详情页
   ========================================================================== */
.night .meme-detail-header {
    border-color: var(--night-border);
}
.night .meme-detail-name {
    color: var(--night-text);
}
.night .meme-detail-price {
    color: var(--night-text);
}
.night .meme-detail-contract {
    background: var(--night-bg);
    border-color: var(--night-border);
    color: var(--night-text);
}
.night .meme-copy-btn {
    background: transparent;
    border-color: var(--night-border);
    color: var(--night-text);
}
.night .meme-copy-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff !important;
}
.night .meme-social-icon {
    background: var(--night-bg);
    color: var(--night-text);
}
.night .meme-stat-card {
    border-color: var(--night-border);
}
.night .meme-stat-value {
    color: var(--night-text);
}
.night .meme-detail-tabs {
    border-color: var(--night-border);
}
.night .meme-tab-nav {
    background: var(--night-bg);
    border-color: var(--night-border);
}
.night .meme-tab-nav li a {
    color: var(--night-text);
}
.night .meme-tab-nav li.uk-active a {
    color: var(--primary-color);
}
.night .meme-gallery-item img {
    border-color: var(--night-border);
}
.night .meme-upload-area {
    border-color: var(--night-border);
    color: var(--night-text);
}
.night .meme-upload-area:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.night .meme-icon-placeholder {
    background: linear-gradient(200deg, #409eff, #0056b3);
}

/* ==========================================================================
   响应式 - 详情页
   ========================================================================== */
@media screen and (max-width: 640px) {
    .meme-detail-header .uk-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }
    .meme-detail-icon {
        width: 48px;
        height: 48px;
    }
    .meme-detail-icon-placeholder {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
    .meme-detail-name {
        font-size: 18px;
    }
    .meme-detail-price {
        font-size: 22px;
    }
    .meme-detail-change {
        font-size: 14px;
    }
    .meme-detail-contract {
        max-width: 160px;
    }
    .meme-detail-social {
        margin-top: 4px;
    }
    .meme-tab-nav li a {
        padding: 10px 14px;
        font-size: 13px;
    }
    .meme-chart-iframe {
        height: 360px;
    }
    .meme-gallery-item img {
        height: 140px;
    }
    .meme-stat-card {
        padding: 10px 12px;
    }
    .meme-stat-value {
        font-size: 14px;
    }
}

/* ==========================================================================
   评论增强 - 图片上传 & 点赞
   ========================================================================== */

/* 评论上传区域 */
.meme-comment-upload-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
}
.meme-comment-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    font-size: 12px;
    border: 1px dashed var(--border-color);
    border-radius: 4px;
    background: #f7f8fc;
    color: #909399;
    cursor: pointer;
    transition: all .3s;
    line-height: 1.5;
}
.meme-comment-upload-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.meme-comment-upload-status {
    font-size: 12px;
    color: #909399;
}
.meme-comment-upload-status.meme-upload-error {
    color: #ff1744;
}

/* 评论中显示的图片 */
.meme-comment-image {
    margin-top: 10px;
}
.meme-comment-image img {
    max-width: 300px;
    max-height: 200px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    object-fit: cover;
}

/* 点赞按钮 */
.meme-comment-like-wrap {
    display: inline-block;
    margin-left: 12px;
}
.meme-comment-like {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    font-size: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: #f7f8fc;
    color: #909399;
    cursor: pointer;
    transition: all .3s;
    line-height: 1.5;
}
.meme-comment-like:hover {
    border-color: #ff1744;
    color: #ff1744;
}
.meme-comment-like.liked {
    border-color: #ff1744;
    background: #fff0f0;
    color: #ff1744;
}
.meme-comment-like .meme-like-count {
    font-weight: 600;
}

/* 夜间模式 */
.night .meme-comment-upload-btn {
    background: var(--night-bg);
    border-color: var(--night-border);
    color: var(--night-text);
}
.night .meme-comment-upload-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.night .meme-comment-image img {
    border-color: var(--night-border);
}
.night .meme-comment-like {
    background: var(--night-bg);
    border-color: var(--night-border);
    color: var(--night-text);
}
.night .meme-comment-like:hover {
    border-color: #ff1744;
    color: #ff1744;
}
.night .meme-comment-like.liked {
    border-color: #ff1744;
    background: #3a2020;
    color: #ff1744;
}

@media screen and (max-width: 640px) {
    .meme-comment-image img {
        max-width: 100%;
        max-height: 160px;
    }
}

/* ==========================================================================
   排行面板
   ========================================================================== */
.meme-ranking-card {
    border: 1px solid var(--border-color);
}
.meme-ranking-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-color);
    background: #F7F8FC;
}
.meme-ranking-title {
    font-size: 14px;
    font-weight: 600;
    color: #303133;
}
.meme-ranking-badge {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 4px;
    background: var(--primary-color);
    color: #fff;
    line-height: 1.6;
}
.meme-ranking-list {
    padding: 4px 0;
}
.meme-ranking-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    text-decoration: none;
    transition: background .2s;
}
.meme-ranking-item:hover {
    background: #F7F8FC;
}
.meme-ranking-rank {
    width: 16px;
    font-size: 12px;
    font-weight: 700;
    color: #909399;
    text-align: center;
    flex-shrink: 0;
}
.meme-ranking-item:first-child .meme-ranking-rank { color: #e6b422; }
.meme-ranking-item:nth-child(2) .meme-ranking-rank { color: #a0a0a0; }
.meme-ranking-item:nth-child(3) .meme-ranking-rank { color: #cd7f32; }
.meme-ranking-name {
    font-size: 13px;
    color: #303133;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1;
}
.meme-ranking-item:hover .meme-ranking-name {
    color: var(--primary-color);
}
.meme-ranking-chain {
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 3px;
    background: #ecf5ff;
    color: var(--primary-color);
    flex-shrink: 0;
    line-height: 1.6;
}
.meme-ranking-change {
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}
.meme-ranking-empty {
    padding: 20px;
    text-align: center;
    color: #909399;
    font-size: 13px;
}

/* ==========================================================================
   收藏按钮
   ========================================================================== */
.meme-bookmark-btn {
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 16px;
    color: #d0d0d0;
    cursor: pointer;
    z-index: 2;
    transition: all .3s;
    line-height: 1;
    user-select: none;
}
.meme-bookmark-btn:hover {
    color: #f0b400;
    transform: scale(1.2);
}
.meme-bookmark-btn.bookmarked {
    color: #f0b400;
}
.coin-item {
    position: relative;
}

/* 详情页收藏 */
.meme-detail-bookmark {
    font-size: 22px;
    color: #d0d0d0;
    cursor: pointer;
    transition: all .3s;
    line-height: 1;
    user-select: none;
}
.meme-detail-bookmark:hover {
    color: #f0b400;
    transform: scale(1.15);
}
.meme-detail-bookmark.bookmarked {
    color: #f0b400;
}

/* 收藏空状态 */
.coin-bookmarked-empty {
    grid-column: 1 / -1;
}

/* ==========================================================================
   安全信息徽章
   ========================================================================== */
.meme-safety-badge {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.6;
}
.meme-safety-badge-high {
    background: #f0f9eb;
    color: #67c23a;
}
.meme-safety-badge-mid {
    background: #fdf6ec;
    color: #e6a23c;
}
.meme-safety-badge-low {
    background: #fef0f0;
    color: #f56c6c;
}
.meme-safety-tag {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 4px;
    background: #F7F8FC;
    color: #606266;
    white-space: nowrap;
    line-height: 1.6;
}
.meme-safety-ok {
    background: #f0f9eb;
    color: #67c23a;
}
.meme-safety-warn {
    background: #fef0f0;
    color: #f56c6c;
}

/* ==========================================================================
   夜间模式 - 新增元素
   ========================================================================== */
.night .meme-ranking-card {
    border-color: var(--night-border);
}
.night .meme-ranking-header {
    background: var(--night-bg);
    border-color: var(--night-border);
}
.night .meme-ranking-title {
    color: var(--night-text);
}
.night .meme-ranking-item:hover {
    background: var(--night-bg);
}
.night .meme-ranking-name {
    color: var(--night-text);
}
.night .meme-ranking-item:hover .meme-ranking-name {
    color: var(--primary-color);
}
.night .meme-ranking-empty {
    color: var(--night-text);
}
.night .meme-bookmark-btn {
    color: #555;
}
.night .meme-bookmark-btn.bookmarked {
    color: #f0b400;
}
.night .meme-detail-bookmark {
    color: #555;
}
.night .meme-detail-bookmark.bookmarked {
    color: #f0b400;
}
.night .meme-safety-tag {
    background: var(--night-bg);
    color: var(--night-text);
}
