/* ========================================
   心蓝引擎 · 创作者社区平台 - 样式表
   依据 docs/community-design.md §7 施工
   配色仅引用 style.css CSS 变量；c- 前缀类
   ======================================== */

/* ========================================
   7.2 布局类
   ======================================== */
.c-page {
    padding: 140px 0 100px;
    min-height: 60vh;
}

.c-wrap {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
}

.c-main-col {
    min-width: 0;
}

.c-side-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 基础卡规格（c-card 及其衍生卡可独立使用，无需叠加 c-card） */
.c-card,
.c-section-card,
.c-thread-item,
.c-floor,
.c-review-item,
.c-review-form,
.c-package-card,
.c-side-card,
.c-promo-card,
.c-notify-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: var(--transition);
}

.c-card {
    padding: 24px;
}

.c-card--hover:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.c-block-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.c-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.c-breadcrumb a {
    color: var(--text-muted);
    transition: var(--transition);
}

.c-breadcrumb a:hover {
    color: var(--primary);
}

.c-breadcrumb-sep {
    color: var(--text-muted);
    opacity: 0.6;
}

/* ========================================
   7.3 版块卡（community.html）
   ======================================== */
.c-sections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.c-section-card {
    padding: 24px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.c-section-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-1);
    opacity: 0;
    transition: var(--transition);
}

.c-section-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.c-section-card:hover::before {
    opacity: 1;
}

.c-section-card--active {
    border-color: rgba(0, 212, 255, 0.4);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(123, 44, 191, 0.08));
}

.c-section-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.c-section-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.c-section-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 10px;
}

.c-section-persona {
    font-size: 0.8125rem;
    font-style: italic;
    color: var(--text-muted);
    border-left: 2px solid var(--primary);
    padding-left: 10px;
    margin-bottom: 14px;
}

.c-section-stats {
    display: flex;
    gap: 16px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.c-section-stats strong,
.c-section-stats .num {
    color: var(--primary);
    font-weight: 700;
}

/* ========================================
   7.4 帖子列表与楼层
   ======================================== */
.c-feed-bar {
    position: sticky;
    top: 72px;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 16px;
}

.c-feed-hint {
    font-size: 0.8125rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.c-feed-spacer {
    margin-left: auto;
}

.c-thread-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.c-thread-item {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 16px 20px;
    color: inherit;
}

.c-thread-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.c-thread-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.c-thread-author {
    font-size: 0.8125rem;
    font-weight: 600;
    transition: color 0.15s ease;
}

.c-thread-author:hover {
    color: var(--primary);
}

.c-thread-title {
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.45;
    word-break: break-word;
    transition: color 0.15s ease;
}

/* threadItemHTML 中列容器：保证摘要单行省略生效、防止撑破网格 */
.c-thread-body {
    min-width: 0;
}

.c-thread-item:hover .c-thread-title {
    color: var(--primary);
}

.c-thread-excerpt {
    font-size: 0.875rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 4px;
}

.c-thread-stats {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.c-thread-stats .c-stat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.c-thread-stats svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* threadItemHTML 末项相对时间：不折行、保持弱化显示 */
.c-stat--time {
    flex-shrink: 0;
    white-space: nowrap;
}

/* 通用小 pill */
.c-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.6875rem;
    font-weight: 700;
    white-space: nowrap;
}

.c-pill--pinned {
    background: rgba(255, 0, 110, 0.12);
    color: var(--accent);
    border: 1px solid rgba(255, 0, 110, 0.3);
}

.c-pill--featured {
    background: rgba(255, 230, 109, 0.12);
    color: #ffe66d;
    border: 1px solid rgba(255, 230, 109, 0.3);
}

.c-pill--game {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.c-pill--section {
    background: var(--bg-glass);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

/* 楼层 */
.c-floor {
    padding: 20px 24px;
}

.c-floor--lz {
    border-left: 3px solid var(--primary);
}

.c-floor-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.c-floor-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.c-floor-num {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: auto;
}

.c-floor-body {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-primary);
    word-break: break-word;
}

.c-floor-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 14px;
}

.c-floor-actions button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    cursor: pointer;
    opacity: 0.45;
    transition: opacity 0.15s ease, color 0.15s ease;
}

.c-floor-actions button svg {
    width: 14px;
    height: 14px;
}

.c-floor-actions button:hover {
    color: var(--primary);
}

.c-floor:hover .c-floor-actions button,
.c-floor:focus-within .c-floor-actions button {
    opacity: 1;
}

/* 点赞按钮 */
.c-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: opacity 0.15s ease, color 0.15s ease;
}

.c-like-btn svg {
    width: 14px;
    height: 14px;
}

.c-like-btn:hover {
    color: var(--primary);
}

.c-like-btn.is-liked,
.c-like-btn.is-liked:hover {
    color: var(--accent);
}

.c-like-btn.is-liked svg {
    fill: currentColor;
}

/* ========================================
   7.5 用户与徽章
   ======================================== */
.c-avatar {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--av-c1), var(--av-c2));
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    user-select: none;
}

.c-avatar--sm {
    width: 32px;
    height: 32px;
    font-size: 0.8125rem;
}

.c-avatar--md {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.c-avatar--lg {
    width: 72px;
    height: 72px;
    font-size: 1.75rem;
}

.c-user-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.c-user-name {
    font-size: 0.9375rem;
    font-weight: 600;
    transition: color 0.15s ease;
}

.c-user-name:hover {
    color: var(--primary);
}

.c-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 700;
    white-space: nowrap;
}

.c-badge--official {
    background: var(--gradient-1);
    color: #ffffff;
}

.c-badge--admin {
    background: rgba(0, 212, 255, 0.08);
    color: var(--primary);
    border: 1px solid rgba(0, 212, 255, 0.4);
}

.c-badge--star_creator {
    background: rgba(255, 230, 109, 0.12);
    color: #ffe66d;
    border: 1px solid rgba(255, 230, 109, 0.3);
}

.c-badge--first_game,
.c-badge--tutor,
.c-badge--answerer,
.c-badge--jam_winner,
.c-badge--pioneer {
    background: var(--bg-glass);
    color: var(--primary);
    border: 1px solid rgba(0, 212, 255, 0.25);
}

.c-level-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 50px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(0, 212, 255, 0.25);
    white-space: nowrap;
}

/* ========================================
   7.6 游戏详情与评价
   ======================================== */
.c-game-hero {
    height: 320px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--game-c1), var(--game-c2));
    position: relative;
    overflow: hidden;
}

.c-game-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.25), transparent 60%);
    pointer-events: none;
}

.c-game-hero-initial {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    user-select: none;
}

.c-game-hero-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
    color: #ffffff;
    z-index: 1;
}

.c-game-hero-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.c-game-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
}

.c-play-frame {
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #050508;
    position: relative;
}

/* Comm.gameCardHTML 在 game-card 内追加的评分/游玩行（§7.6） */
.c-game-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.c-game-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #ffe66d;
    font-weight: 700;
}

.c-game-rating svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.c-game-plays {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

[data-theme="light"] .c-game-rating {
    color: #b8860b;
}

.c-play-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.c-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--game-c1), var(--game-c2));
    cursor: pointer;
}

.c-play-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.25), transparent 60%);
    pointer-events: none;
}

.c-play-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient-1);
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.c-play-btn svg {
    width: 28px;
    height: 28px;
}

.c-play-btn:hover {
    transform: scale(1.08);
    box-shadow: var(--shadow-glow);
}

.c-rating-big {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.c-stars {
    display: flex;
    align-items: center;
    gap: 4px;
}

.c-stars .c-star {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: transform 0.15s ease, color 0.15s ease;
}

.c-stars .c-star svg {
    width: 100%;
    height: 100%;
    display: block;
}

.c-stars .c-star--filled,
.c-stars .c-star.is-filled,
.c-stars .c-star.is-full {
    color: #ffe66d;
}

.c-stars--interactive .c-star {
    cursor: pointer;
}

.c-stars--interactive .c-star:hover {
    transform: scale(1.15);
}

.c-dim-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.c-dim-bar:last-child {
    margin-bottom: 0;
}

.c-dim-label {
    width: 48px;
    flex-shrink: 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.c-dim-track {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: var(--bg-glass);
    overflow: hidden;
}

.c-dim-fill {
    height: 100%;
    border-radius: 3px;
    background: var(--gradient-1);
}

.c-dim-val {
    width: 28px;
    text-align: right;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
}

.c-review-item {
    padding: 20px;
}

.c-review-form {
    padding: 24px;
}

.c-review-form .c-stars {
    margin-bottom: 14px;
}

.c-review-form .c-dim-bar {
    margin-bottom: 12px;
}

/* ========================================
   7.7 表单 / 向导 / Tab / 空状态 / 侧栏
   ======================================== */
.c-input,
.c-textarea,
.c-select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-family: inherit;
    transition: var(--transition);
}

.c-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.7;
}

.c-input:focus,
.c-textarea:focus,
.c-select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 212, 255, 0.05);
}

.c-input::placeholder,
.c-textarea::placeholder {
    color: var(--text-muted);
}

.c-field-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: right;
    margin-top: 6px;
}

.c-field-count.is-over {
    color: var(--accent);
}

.c-tag-input {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: var(--transition);
    cursor: text;
}

.c-tag-input:focus-within {
    border-color: var(--primary);
    background: rgba(0, 212, 255, 0.05);
}

.c-tag-input input {
    flex: 1;
    min-width: 120px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.875rem;
    padding: 4px 0;
}

.c-tag-input input:focus {
    outline: none;
}

.c-tag-input input::placeholder {
    color: var(--text-muted);
}

.c-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 50px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 212, 255, 0.3);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.c-tag-pill button {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    font-size: 0.875rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.15s ease;
}

.c-tag-pill button:hover {
    opacity: 1;
}

/* 步骤条 */
.c-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.c-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.c-step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.c-step-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    white-space: nowrap;
    transition: var(--transition);
}

.c-step-line {
    flex: 1;
    min-width: 40px;
    height: 2px;
    background: var(--border);
    margin: 0 12px;
    margin-top: 16px;
}

.c-step.is-active .c-step-dot {
    background: var(--gradient-1);
    border-color: transparent;
    color: #ffffff;
}

.c-step.is-active .c-step-label {
    color: var(--primary);
}

.c-step.is-done .c-step-dot {
    background: rgba(0, 212, 255, 0.06);
    border-color: var(--primary);
    color: var(--primary);
}

/* 导出包单选卡 */
.c-package-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    cursor: pointer;
    position: relative;
}

.c-package-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.c-package-card.is-selected {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.c-package-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.c-package-info {
    min-width: 0;
    flex: 1;
}

.c-package-name {
    font-size: 0.9375rem;
    font-weight: 600;
    word-break: break-all;
}

.c-package-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.c-package-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gradient-1);
    color: #ffffff;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.c-package-card.is-selected .c-package-check {
    opacity: 1;
}

/* Tab 条 */
.c-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
    overflow-x: auto;
}

.c-tab {
    padding: 10px 18px;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.c-tab:hover {
    color: var(--text-primary);
}

.c-tab.is-active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* 空状态 */
.c-empty {
    text-align: center;
    padding: 56px 24px;
    color: var(--text-muted);
}

.c-empty svg {
    width: 48px;
    height: 48px;
    opacity: 0.5;
}

.c-empty p {
    margin-top: 16px;
    font-size: 0.9375rem;
}

/* 侧栏卡 */
.c-side-card {
    padding: 20px;
}

.c-side-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.c-side-card-title {
    font-size: 0.9375rem;
    font-weight: 700;
}

.c-side-card-more {
    font-size: 0.75rem;
    color: var(--primary);
    transition: var(--transition);
}

.c-side-card-more:hover {
    color: var(--primary-dark);
}

/* 安利墙条目 */
.c-wall-item {
    display: block;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-glass);
    transition: var(--transition);
}

.c-wall-item:hover {
    border-color: var(--border-hover);
}

.c-wall-item + .c-wall-item {
    margin-top: 12px;
}

.c-wall-text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.c-wall-game {
    display: block;
    margin-top: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
}

/* 创作者条目 */
.c-creator-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.c-creator-item:last-child {
    border-bottom: none;
}

.c-creator-info {
    min-width: 0;
    flex: 1;
}

.c-creator-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.c-creator-likes {
    margin-left: auto;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
    white-space: nowrap;
}

/* 一键发布推广卡（渐变边框） */
.c-promo-card {
    padding: 24px;
    text-align: center;
    border: 1px solid transparent;
    background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box, var(--gradient-1) border-box;
}

.c-promo-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

/* 通知浮层 */
.c-notify-anchor {
    position: relative;
}

.c-notify-card {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 340px;
    max-height: 420px;
    overflow-y: auto;
    padding: 8px 0;
    box-shadow: var(--shadow-glow);
    z-index: 200;
}

.c-notify-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
}

.c-notify-title {
    font-size: 0.875rem;
    font-weight: 700;
}

.c-notify-markall {
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: 0.75rem;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.c-notify-markall:hover {
    color: var(--primary-dark);
}

.c-notify-item {
    display: block;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-secondary);
    transition: background 0.15s ease;
}

.c-notify-item:hover {
    background: var(--bg-glass);
}

.c-notify-item:last-child {
    border-bottom: none;
}

.c-notify-item.is-unread {
    border-left: 3px solid var(--primary);
    background: rgba(0, 212, 255, 0.04);
}

.c-notify-time {
    display: block;
    margin-top: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.c-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    position: absolute;
    top: -2px;
    right: -2px;
}

/* 发布成功大对勾 */
.c-success-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(0, 255, 136, 0.1);
    border: 2px solid #00ff88;
    color: #00ff88;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.c-success-icon svg {
    width: 48px;
    height: 48px;
}

/* ========================================
   7.8 light 主题特判（其余靠变量自然切换）
   ======================================== */
[data-theme="light"] .c-pill--featured {
    color: #b8860b;
}

[data-theme="light"] .c-badge--star_creator {
    color: #b8860b;
}

[data-theme="light"] .c-stars .c-star--filled,
[data-theme="light"] .c-stars .c-star.is-filled,
[data-theme="light"] .c-stars .c-star.is-full {
    color: #f5b301;
}

[data-theme="light"] .c-input,
[data-theme="light"] .c-textarea,
[data-theme="light"] .c-select,
[data-theme="light"] .c-tag-input {
    background: #ffffff;
    border-color: var(--border);
}

[data-theme="light"] .c-input:focus,
[data-theme="light"] .c-textarea:focus,
[data-theme="light"] .c-select:focus,
[data-theme="light"] .c-tag-input:focus-within {
    background: #ffffff;
}

/* 触屏设备无 hover：楼层操作常显 */
@media (hover: none) {
    .c-floor-actions button {
        opacity: 1;
    }
}

/* ========================================
   响应式（断点与 style.css 对齐）
   ======================================== */
@media (max-width: 1100px) {
    .c-page {
        padding: 120px 0 100px;
    }

    .c-wrap {
        grid-template-columns: 1fr;
    }

    .c-sections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .c-sections-grid {
        grid-template-columns: 1fr;
    }

    .c-feed-bar {
        top: 64px;
        flex-wrap: wrap;
    }

    .c-thread-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .c-thread-meta {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .c-thread-stats {
        flex-wrap: wrap;
        white-space: normal;
    }

    .c-game-hero {
        height: 260px;
    }

    .c-game-hero-initial {
        font-size: 4rem;
    }
}

@media (max-width: 480px) {
    .c-card {
        padding: 20px;
    }

    .c-floor {
        padding: 16px 18px;
    }

    .c-thread-item {
        padding: 14px 16px;
    }

    .c-rating-big {
        font-size: 2.5rem;
    }

    .c-game-hero-body {
        padding: 20px;
    }

    .c-game-hero-title {
        font-size: 1.5rem;
    }

    .c-notify-card {
        width: min(340px, calc(100vw - 32px));
    }

    .c-step-dot {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .c-step-label {
        font-size: 0.75rem;
    }

    .c-step-line {
        min-width: 24px;
        margin: 0 8px;
        margin-top: 14px;
    }

    .c-success-icon {
        width: 80px;
        height: 80px;
    }

    .c-success-icon svg {
        width: 40px;
        height: 40px;
    }

    .c-empty {
        padding: 40px 16px;
    }
}
