/*
 * @file        reset.css
 * @description 浏览器默认样式重置 - 基于 Eric Meyer Reset v2.0 思路精简改写
 * @author      zhuowebuqun
 * @date        2026-05-01
 * @notes       移除默认 margin/padding；统一 box-sizing；保留必要的 a/img/list 默认表现
 */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body,
div,
span,
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
a, em, img, small, strong, sub, sup,
ol, ul, li, dl, dt, dd,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, figure, figcaption, footer, header,
nav, section, main, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: #2d3748;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

article, aside, figure, footer, header, nav, section, main {
    display: block;
}

ol, ul {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
    background-color: transparent;
    transition: color .25s ease, background-color .25s ease, border-color .25s ease;
}

a:hover {
    color: #c9a96e;
}

img,
picture,
svg,
video {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

button,
input,
optgroup,
select,
textarea {
    font: inherit;
    color: inherit;
    margin: 0;
    background: transparent;
    border: 0;
    outline: none;
}

button {
    cursor: pointer;
    background: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

p {
    word-wrap: break-word;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-thumb {
    background: rgba(26, 35, 50, .25);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(26, 35, 50, .45);
}
::-webkit-scrollbar-track {
    background: transparent;
}
