* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 "PingFang SC", "Microsoft YaHei", sans-serif;
    max-width: 760px;
    margin: 40px auto;
    padding: 0 24px 60px;
    color: #222;
    line-height: 1.65;
    background: #fff;
}

h1 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 8px;
}

p {
    margin-bottom: 14px;
}

ul {
    margin-left: 22px;
    margin-bottom: 14px;
}

a {
    color: #ff385c;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.meta {
    color: #6a6a6a;
    font-size: 14px;
    margin-bottom: 32px;
}

.nav {
    background: #f2f2f2;
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 32px;
    font-size: 14px;
}

.nav a {
    margin-right: 20px;
    color: #222;
    font-weight: 500;
}

.nav a.active {
    color: #ff385c;
    font-weight: 600;
}

.lang-toggle {
    margin-bottom: 24px;
    font-size: 14px;
}

.lang-toggle a {
    margin-right: 16px;
    color: #ff385c;
}

.lang-toggle a.active {
    color: #222;
    font-weight: 600;
}

section.zh { display: none; }
body.zh section.zh { display: block; }
body.zh section.en { display: none; }

.callout {
    background: #fff5f7;
    border-left: 4px solid #ff385c;
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.callout strong {
    color: #c13515;
}

hr {
    border: 0;
    border-top: 1px solid #e5e5e5;
    margin: 40px 0;
}

.footer {
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid #e5e5e5;
    color: #929292;
    font-size: 13px;
    text-align: center;
}
