/* ========================================
   CSS Reset
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* 防止水平捲軸 */
  overflow-y: hidden; /* 隱藏 html 的垂直捲軸 */
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", 
               "Microsoft JhengHei", "微軟正黑體", 
               "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden; /* 防止水平捲軸 */
  overflow-y: hidden; /* 隱藏 body 的垂直捲軸 */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* 移除 input 的預設樣式 */
input:focus, textarea:focus, select:focus {
  outline: none;
}
