/* ============================================================
   102-style-layout.css - 布局样式
   ============================================================ */

.container {
    max-width: 480px;
    margin: 0 auto;
    background: var(--card-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius);
    padding: 24px 20px 28px;
    box-shadow: var(--shadow-card);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* ✅ 全新的两行顶部栏 */
.top-bar {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 12px 16px;
    margin-bottom: 18px;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
}

.top-bar .brand {
    font-size: 18px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.coin-display {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(124, 92, 252, 0.08);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
}

.coin-display .coin-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* 底部按钮行样式 */
.bottom-row .nav-btn, 
.bottom-row .login-btn {
    flex: 1;
    text-align: center;
    margin: 0;
    padding: 10px 0;
    font-size: 14px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.bottom-row .nav-btn {
    background: rgba(124, 92, 252, 0.1);
    color: var(--primary);
}

.bottom-row .login-btn {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 2px 12px rgba(124, 92, 252, 0.25);
}

.bottom-row .nav-btn:active, 
.bottom-row .login-btn:active {
    transform: scale(0.96);
}

.login-hint {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.login-hint p {
    margin-bottom: 16px;
    font-size: 15px;
}

.section-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.status-text {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 12px;
    min-height: 20px;
}

.story-meta {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed var(--border);
}