/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100vw;
}

html {
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    color: #333;
    background-color: #000;
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

input, textarea, select {
    font-family: inherit;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* 移除iOS Safari的點擊高亮 */
a, button, input, textarea {
    -webkit-tap-highlight-color: transparent;
}

/* 移除focus outline，但保留鍵盤導航 */
:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 2px solid #007acc;
    outline-offset: 2px;
}