* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    font: inherit;
    cursor: pointer;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
h1,
h2,
h3,
p {
    margin-top: 0;
}
a:focus-visible,
button:focus-visible {
    outline: 3px solid #168578;
    outline-offset: 5px;
}
section[id],
header[id] {
    scroll-margin-top: 100px;
}
.container {
    width: min(1240px, calc(100% - 64px));
    margin-inline: auto;
}
.load-error {
    padding: 24px;
    text-align: center;
    color: #9b253e;
    background: #fff0f2;
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
