<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            background-color: #1a1a1a;
            color: #e0e0e0;
            margin: 0;
            padding: 20px;
            font-family: Arial, sans-serif;
        }
        .container {
            display: flex;
            gap: 20px;
            padding: 20px;
            background-color: #222222;
            border-radius: 16px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.3);
        }
        .left-section {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .avatar {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid #444;
            box-shadow: 0 2px 15px rgba(0,0,0,0.4);
        }
        .name {
            margin-top: 10px;
            font-size: 18px;
            font-weight: bold;
            color: #ffffff;
        }
        .right-section {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        .card {
            background: #2d2d2d;
            border-radius: 12px;
            padding: 15px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
            border: 1px solid #3a3a3a;
        }
        .progress-card {
            height: 80px;
            display: flex;
            gap: 10px;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            color: #bbbbbb;
        }
        .bottom-cards {
            display: flex;
            gap: 15px;
        }
        .stat-card {
            flex: 1;
            height: 80px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        .stat-label {
            font-size: 14px;
            color: #999999;
            margin-bottom: 5px;
        }
        .stat-value {
            font-size: 24px;
            font-weight: bold;
            color: #ffffff;
        }
        .tag {
            font-size: 12px;
            color: #777777;
            margin-top: 5px;
        }
    </style>
</head>
<body>
    <div class="container">
        <!-- 左侧头像和名字 -->
        <div class="left-section">
            <div id="avatar"><img src="{{data.avatar}}" alt="头像" class="avatar"></div>
            <div id="name" class="name">{{data.name}}</div>
            <div class="tag">注册时间: {{data.registerTs}}</div>
        </div>

        <!-- 右侧卡片区域 -->
        <div class="right-section">
            <!-- 作战进度卡片 -->
            <div class="progress-card ">
                <div class="card stat-card">
                    <div class="stat-label">等级</div>
                    <div class="stat-value">{{data.level}}</div>
                </div>
                <br>
                <div class="card stat-card">
                    <div class="stat-label">理智</div>
                    <div class="stat-value">{{data.ap.now}}/{{data.ap.max}}</div>
                </div>
                <br>
                <div class="card stat-card">
                    <div class="stat-label">作战进度</div>
                    <div class="stat-value">
                        {{if data.mainStageProgress == ''}}已完成{{else}}{{data.mainStageProgress}}{{/if}}
                    </div>
                </div>
            </div>
            <br>
            <!-- 干员数量和家具数量卡片 -->
            <div class="bottom-cards">
                <div class="card stat-card">
                    <div class="stat-label">干员数量</div>
                    <div class="stat-value">{{data.chars}}</div>
                </div>
                <div class="card stat-card">
                    <div class="stat-label">皮肤数量</div>
                    <div class="stat-value">{{data.skins}}</div>
                </div>
                <div class="card stat-card">
                    <div class="stat-label">家具数量</div>
                    <div class="stat-value">{{data.furniture}}</div>
                </div>
            </div>
        </div>
    </div>
</body>
</html>