/*取消edge預設眼睛*/
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}
/*取消搜尋預設的X*/
input[type="search"]::-webkit-search-cancel-button {
    display: none;
}
/* 移除 iOS 點擊後的灰色背景 */
button, a, input {
  -webkit-tap-highlight-color: rgba(0,0,0,0); /* 或 transparent */
  -webkit-user-select: none;
  -webkit-touch-callout: none;

}
/*自訂滾動條樣式(mac下不啟用) 要搭配js*/
html.not-macOS ::-webkit-scrollbar {
    width: 14px;
    height: 14px;
    background: transparent;

}

html.not-macOS ::-webkit-scrollbar-track,
html.not-macOS ::-webkit-scrollbar-thumb {
    border-radius: 999px;
    border: 5px solid transparent;
    
}

html.not-macOS ::-webkit-scrollbar-track {
    box-shadow: 1px 1px 5px rgba(0,0,0,0) inset;

}

html.not-macOS ::-webkit-scrollbar-thumb {
    min-height: 20px;
    background-clip: content-box;
    box-shadow: 0 0 0 5px rgba(0,0,0,.2) inset;
    background-color: transparent;

}

html.not-macOS ::-webkit-scrollbar-corner {
    background: transparent;

}


button {
    cursor: pointer;
}

a {
    -webkit-text-decoration: none;
    text-decoration: none;
}

select {
    cursor: pointer;
}

.not-macOS {
    font-weight: 450;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    text-rendering: optimizeLegibility;
}

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        -webkit-tap-highlight-color: transparent;
        font-weight: var(--font-weight);
        font-family: var(--font-family);
    }

    :root {
        --app-height: 100vh;
        --font-weight: 450;
        /* fallback 初始值 */
        --smse-bgColor: #f5f5f5;
        --smse-textColor: #383838;
        --btn-color: #7e7e7e;
        --btn-bgcolor: #ededed;
    }

    @media (prefers-color-scheme: dark) {
        :root {
            --smse-bgColor: #383838;
            --smse-textColor: white;
            --btn-color: #E8E8E7;
            --btn-bgcolor: #7e7e7e;
        }
    }
