:root {
    color: #17211b;
    background: #edf6f0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 20% 0%, rgba(7, 193, 96, .16), transparent 34rem),
        linear-gradient(145deg, #f7fbf8, #e8f3ec);
}

.shell {
    width: min(100% - 32px, 440px);
    margin: 0 auto;
    padding: max(48px, 8vh) 0 32px;
}

.card {
    padding: 28px;
    overflow: hidden;
    text-align: center;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(23, 33, 27, .08);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(22, 63, 39, .12);
}

.brand {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-bottom: 36px;
    color: #536159;
    font-size: 14px;
    font-weight: 650;
    letter-spacing: .08em;
}

.brand-mark, .hero-icon {
    display: grid;
    place-items: center;
    color: #fff;
    background: #07c160;
    box-shadow: 0 12px 28px rgba(7, 193, 96, .26);
}

.brand-mark { width: 30px; height: 30px; border-radius: 10px; }
.hero-icon { width: 74px; height: 74px; margin: 0 auto 24px; border-radius: 24px; font-size: 30px; font-weight: 800; }

h1 { margin: 0; color: #17211b; font-size: 28px; letter-spacing: -.04em; }
.lead, .muted { margin: 12px auto 28px; color: #748078; line-height: 1.7; }

.button {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 14px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.button-wechat { color: #fff; background: #07c160; box-shadow: 0 12px 24px rgba(7, 193, 96, .22); }
.button-wechat:hover { background: #06ad56; }
.button-secondary { color: #304037; background: #edf2ef; }
.button-secondary:hover { background: #e3ebe6; }

.security-note { margin-top: 18px; color: #8a958e; font-size: 13px; }
.security-note span { color: #07a851; font-weight: 800; }
.footer { margin: 18px 0 0; color: #91a097; font-size: 12px; text-align: center; }

.profile { position: relative; width: 94px; margin: 0 auto 22px; }
.avatar { display: grid; width: 94px; height: 94px; place-items: center; object-fit: cover; border: 4px solid #fff; border-radius: 50%; background: #e9f5ed; box-shadow: 0 14px 34px rgba(23, 55, 35, .18); }
.avatar-empty { color: #07a851; font-size: 34px; font-weight: 800; }
.success-badge { position: absolute; right: -2px; bottom: 2px; display: grid; width: 28px; height: 28px; place-items: center; color: #fff; background: #07c160; border: 3px solid #fff; border-radius: 50%; font-size: 13px; }

.details { margin: 26px 0; padding: 4px 16px; background: #f6f9f7; border-radius: 16px; text-align: left; }
.details div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid #e8eeea; }
.details div:last-child { border: 0; }
.details dt { color: #7b887f; }
.details dd { margin: 0; color: #304037; font-weight: 650; text-align: right; }

.state-icon { display: grid; width: 64px; height: 64px; margin: 0 auto 24px; place-items: center; border-radius: 50%; font-size: 30px; font-weight: 800; }
.state-icon.error { color: #c44848; background: #fff0f0; }

@media (max-width: 480px) {
    .shell { width: min(100% - 24px, 440px); padding-top: 24px; }
    .card { padding: 24px 20px; border-radius: 20px; }
}

