* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f8fafc;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 500px; /* 二维码页面窄屏更合适 */
    text-align: center;
}

h1 {
    color: #1e293b;
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 600;
}

.qrcode-container {
    position: relative;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 二维码容器（居中+响应式） */
#qrcode {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 15px;
}

/* 节点信息提示 */
#node-info {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 100%;
    word-break: break-all; /* 支持长链接换行 */
    padding: 0 10px;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.9rem;
    padding: 0 10px;
}

/* 响应式调整（手机端适配） */
@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .qrcode-container {
        padding: 15px;
    }
    
    #qrcode {
        max-width: 250px;
    }
    
    .status-bar {
        flex-direction: column;
        gap: 8px;
    }
}