body {
    margin: 0;
    font-family: "微软雅黑", sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.header {
    background: #121212;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
}

.header input {
    flex: 1;
    margin: 0 10px;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
}

.member-card {
    background: linear-gradient(135deg, #d1d1d1, #2b2b2b);
    color: #fff;
    border-radius: 12px;
    margin: 15px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.member-top {
    display: flex;
    align-items: center;
}

.member-top img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid #fff;
}

.member-top .info h3 {
    margin: 0;
    font-size: 18px;
    color: #fff;
}

.member-top .info p {
    margin: 4px 0;
    font-size: 13px;
    color: #eee;
}

.assets {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.asset-block {
    text-align: center;
    flex: 1;
}

.asset-block .label {
    font-size: 13px;
    color: #ccc;
}

.asset-block .value {
    font-size: 20px;
    font-weight: bold;
    color: #eee;
    margin: 4px 0;
}

.asset-btn {
    background: #373131;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
}

.vip-btn {
    display: block;
    margin: 0 auto;
    background: #373131;
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    border: none;
}

.grid-buttons {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    margin: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.grid-buttons a {
    width: 25%;
    text-align: center;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
    box-sizing: border-box;
}

.grid-buttons a:nth-child(4n) {
    border-right: none;
}

.grid-buttons a i {
    font-size: 20px;
    display: block;
    margin-bottom: 6px;
    color: #ff4444;
}

.task-section {
    margin: 15px;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
}

.task-header {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    font-weight: bold;
    padding: 10px 0;
}

.task-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.task-tabs div {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid #ccc;
    cursor: pointer;
}

.task-tabs .active {
    background: #ff4444;
    color: #fff;
    border-color: #ff4444;
}

.task-card {
    display: flex;
    justify-content: space-between;
    background: #fafafa;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.task-info {
    flex: 2;
}

.task-info h4 {
    margin: 0;
    font-size: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
}

.task-info p {
    margin: 4px 0;
    font-size: 13px;
    color: #888;
}

.badge {
    display: inline-block;
    font-size: 12px;
    background: #ff4444;
    color: #fff;
    border-radius: 10px;
    padding: 2px 6px;
}

.task-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.task-actions .action-btn {
    padding: 6px 14px;
    font-size: 13px;
    border: none;
    border-radius: 20px;
    background-color: #373131;
    color: #fff;
    cursor: pointer;
    margin-bottom: 4px;
    white-space: nowrap;
}

.task-actions .amount {
    font-size: 13px;
    text-align: center;
}

.amount.points {
    color: #22aa22;
}

.amount.cash {
    color: #ff0000;
}

.logout {
    display: block;
    width: 80%;
    margin: 30px auto;
    background: #ff0000;
    color: white;
    border: none;
    padding: 10px;
    font-size: 14px;
    border-radius: 25px;
    cursor: pointer;
    text-align: center;
}

.progress {
    background: #444;
    height: 8px;
    border-radius: 5px;
    margin: 15px 0 10px;
    overflow: hidden;
}

.progress .bar {
    height: 100%;
    width: 0%;
    /* 默认 0，JS 控制 */
    background: linear-gradient(to right, #ff4444, #ff2222);
    transition: width 1s ease;
}

.checkin-btn {
    background: #ff4444;
    color: white;
    padding: 6px 12px;
    font-size: 13px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    margin-left: auto;
    margin-top: 4px;
    white-space: nowrap;
}
