/* 纳游 v2 列表 / 探索 / 个人页专用样式 */
@import url('home.css');

/* ── 区块标题扩展 ── */
.theme-v2 .section-head-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-v2 .section-sub {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-5);
}

.theme-v2 .section-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-4);
    transition: color .18s;
}
.theme-v2 .section-link:hover { color: var(--go); }

/* ── 空状态 ── */
.theme-v2 .page-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    text-align: center;
    grid-column: 1 / -1;
}
.theme-v2 .page-empty > i,
.theme-v2 .page-empty > svg {
    color: var(--g-400);
    margin-bottom: 16px;
}
.theme-v2 .page-empty p {
    font-size: 16px;
    color: var(--text-4);
}
.theme-v2 .page-empty-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--go);
    transition: color .18s;
}
.theme-v2 .page-empty-link:hover { color: var(--go-hi); }

.theme-v2 .spin-icon { animation: nyv2-spin 1s linear infinite; }
@keyframes nyv2-spin { to { transform: rotate(360deg); } }

/* ── TOP 徽章（探索最热） ── */
.theme-v2 .card-top-badge {
    position: absolute;
    top: 9px;
    left: 9px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .3px;
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 2px 10px rgba(245, 158, 11, .35);
}

/* ── 创作者信息条 ── */
.theme-v2 .profile-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    margin-bottom: 22px;
}
.theme-v2 .profile-bar-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ai), var(--brand));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}
.theme-v2 .profile-bar-info { flex: 1; min-width: 0; }
.theme-v2 .profile-bar-name {
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
}
.theme-v2 .profile-bar-meta {
    font-size: 13px;
    color: var(--text-5);
    line-height: 1.5;
}

.theme-v2 .author-follow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
    height: 40px;
    padding: 0 18px;
    border-radius: var(--r-pill);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid var(--g-500);
    background: var(--g-600);
    color: var(--text-3);
    transition: all .18s;
    text-decoration: none;
}
.theme-v2 .author-follow-btn:hover {
    background: var(--g-500);
    color: #fff;
}
.theme-v2 .author-follow-btn-active {
    background: rgba(254, 44, 85, .12);
    border-color: rgba(254, 44, 85, .45);
    color: var(--brand);
}
.theme-v2 .author-follow-btn-self {
    background: var(--go);
    border: none;
    color: #062615;
    box-shadow: 0 0 18px rgba(0, 230, 118, .25);
}
.theme-v2 .author-follow-btn-self:hover { background: var(--go-hi); }

/* ── 关注列表 ── */
.theme-v2 .following-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}
.theme-v2 .following-author-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    text-decoration: none;
    color: inherit;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.theme-v2 .following-author-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 230, 118, .4);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
}
.theme-v2 .following-author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ai), var(--brand));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}
.theme-v2 .following-author-body { flex: 1; min-width: 0; }
.theme-v2 .following-author-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-2);
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.theme-v2 .following-author-meta {
    font-size: 12px;
    color: var(--text-5);
    margin-bottom: 8px;
}
.theme-v2 .following-author-stats {
    display: flex;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-5);
}
.theme-v2 .following-author-stats span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.theme-v2 .following-author-stats i { color: var(--g-400); }
.theme-v2 .following-author-date {
    font-size: 11px;
    color: var(--g-400);
    margin-top: 6px;
}
.theme-v2 .following-author-arrow {
    color: var(--g-400);
    flex-shrink: 0;
    transition: color .15s, transform .15s;
}
.theme-v2 .following-author-card:hover .following-author-arrow {
    color: var(--go);
    transform: translateX(2px);
}

/* ── 状态筛选 ── */
.theme-v2 .status-filter-wrap { position: relative; }
.theme-v2 .status-filter-select {
    appearance: none;
    background: var(--g-600);
    border: 1px solid var(--g-500);
    border-radius: var(--r-sm);
    color: var(--text-2);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 36px 8px 14px;
    cursor: pointer;
    outline: none;
    transition: border-color .18s, box-shadow .18s;
}
.theme-v2 .status-filter-select:hover,
.theme-v2 .status-filter-select:focus {
    border-color: rgba(0, 230, 118, .45);
    box-shadow: 0 0 0 3px rgba(0, 230, 118, .1);
}
.theme-v2 .status-filter-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-5);
    pointer-events: none;
}

/* ── 我的创作：状态角标 / 操作 ── */
.theme-v2 .game-card-wrap { position: relative; }
.theme-v2 .game-card--locked { cursor: default; }
.theme-v2 .game-card--locked:hover {
    transform: none;
    border-color: var(--line);
    box-shadow: none;
}

.theme-v2 .game-card-status {
    position: absolute;
    top: 9px;
    left: 9px;
    z-index: 3;
    padding: 3px 9px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .3px;
}
.theme-v2 .game-card-status--draft {
    background: rgba(89, 89, 89, .92);
    color: #fff;
}
.theme-v2 .game-card-status--in_review {
    background: rgba(245, 158, 11, .92);
    color: #fff;
}
.theme-v2 .game-card-status--rejected {
    background: rgba(239, 68, 68, .92);
    color: #fff;
}

.theme-v2 .my-game-actions {
    display: flex;
    gap: 6px;
    padding: 0 2px 4px;
    margin-top: -2px;
}
.theme-v2 .my-game-action-btn {
    flex: 1;
    padding: 8px 10px;
    border-radius: var(--r-sm);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    border: 1px solid var(--g-500);
    background: var(--g-700);
    color: var(--text-4);
    text-decoration: none;
    transition: all .15s;
}
.theme-v2 .my-game-action-btn:hover {
    border-color: rgba(0, 230, 118, .45);
    color: #fff;
}
.theme-v2 .my-game-publish-btn {
    background: var(--go);
    border-color: var(--go);
    color: #062615;
}
.theme-v2 .my-game-publish-btn:hover {
    background: var(--go-hi);
    border-color: var(--go-hi);
    color: #062615;
}

.theme-v2 .game-card-create {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 220px;
    background: var(--surface);
    border: 2px dashed var(--g-500);
    border-radius: var(--r-md);
    color: var(--text-5);
    font-size: 14px;
    font-weight: 700;
    transition: border-color .2s, color .2s, background .2s, transform .2s;
    text-decoration: none;
}
.theme-v2 .game-card-create:hover {
    border-color: var(--go);
    color: var(--go);
    background: rgba(0, 230, 118, .06);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .theme-v2 .following-grid { grid-template-columns: 1fr; }
}
