/* Basic Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--tm-color-bg);
    color: var(--tm-color-text);
    font-family: var(--tm-font-family);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    /* 한글 줄바꿈 최적화: 단어 중간 분리 방지, 문장 자연스러운 행 처리 */
    word-break: keep-all;
    overflow-wrap: break-word;
    line-break: strict;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--tm-transition-smooth);
}

ul {
    list-style: none;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
    outline: none;
}

input,
textarea {
    font-family: inherit;
    outline: none;
}