:root {
    color-scheme: light;
}

html {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    overflow-x: hidden;
    color: #222;
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.75;
}

header {
    width: 100%;
    max-width: 100%;
}

header h1 {
    margin: 0;
    font-size: clamp(20px, 6vw, 28px);
    line-height: 1.35;
}

body > div[style*="width: 600px"],
body > div[style*="width:600px"] {
    width: 100% !important;
    max-width: 760px !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 20px 22px 48px !important;
}

p,
li,
a,
span,
strong,
h1,
h2,
h3,
h4,
h5,
h6,
td,
th {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

img,
video,
audio,
canvas,
svg,
iframe {
    max-width: 100% !important;
    height: auto !important;
}

table {
    width: 100% !important;
    max-width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

pre,
code {
    max-width: 100%;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
}

input,
select,
textarea,
button {
    max-width: 100%;
}

@media (max-width: 600px) {
    body > div[style*="width: 600px"],
    body > div[style*="width:600px"] {
        padding: 16px 16px 36px !important;
    }

    header {
        padding: 10px 12px !important;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }
}
