
.noSelection {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Links */
.outLinks {
    background-image: url(https://wiki.lilauid.com/img/link-external-small-ltr-progressive.svg);
    background-position: center right;
    background-repeat: no-repeat;
    background-size: 0.857em;
    padding-right: 1em;
}

/* abbr */
abbr {
    cursor: help;
}

/* 按鈕 */
.button {
    width: fit-content;
    background-color: #103c94;
    border: #0c2557 1px solid;
    border-radius: 2px;
    padding: 0.4em 0.55em 0.4em 0.55em;
    font-weight: 500;
    transition: 0.3s;
}

.button:hover {
    background-color: #174aaf;
    border: #143476 1px solid;
}

.buttong:active {
    background-color: #3065ce;
    border: #1e4187 1px solid;
}

/* 文字樣式 */
.bold {
    font-weight: bold;
}

.BoldBigText {
    font-size: 2em;
    font-weight: bold;
    width: 100%;
    font-family: Arial, Helvetica, sans-serif, 思源黑體;
}

.textStyle1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.2em;
}

.CenterText {
    width: 100%;
    text-align: center;
    display: block;
}

/* 旗幟 */
.flag {
    border: #00000020 1px solid;
    height: 2em;
    width: auto;
    position: absolute;
    top: 1em;
    right: 1em;
    transition: filter 0.3s ease;
    cursor: pointer;
}

.flag:hover {
    filter: brightness(85%);
}

.flag:active {
    filter: brightness(60%);
}

/* 遮罩 */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* 按鈕 */
button {
    padding: 0.3em 0.8em 0.3em 0.8em;
}

/* hr */
hr {
    border: #8b8b8b 0.6px solid;
}

/* 超連結 */
a {
    color: #1c1f7d;
    font-weight: bold;
    text-decoration: none;
}

/* 對話框 */
.dialog {
    display: none;
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    padding: 1em 1.5em 1em 1.5em;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* 語言選擇 */
.language-dropdown {
    display: inline-block;
    position: relative;
    margin-left: 10px;
    cursor: pointer;
}

.language-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    width: 200px;
    padding: 0.5em;
}

.language-item {
    display: flex;
    align-items: center;
    padding: 0.5em;
    cursor: pointer;
    color: #000;
}

.language-item img {
    width: 20px;
    height: 15px;
    margin-right: 10px;
}

.language-item:hover {
    background-color: #f0f0f0;
}

.language-item.selected {
    font-weight: bold;
    background-color: #e3e3e7;
}

/* 漢字字型 */
@font-face {
    font-family: 'GenYoGothic';
    src: url('https://wiki.lilauid.com/fonts/GenYoGothic-EL.woff2') format('woff2'),
         url('https://wiki.lilauid.com/fonts/GenYoGothic-EL.ttc') format('TrueType');
    font-weight: 200; /* Extra Light */
    font-style: normal;
}

@font-face {
    font-family: 'GenYoGothic';
    src: url('https://wiki.lilauid.com/fonts/GenYoGothic-L.woff2') format('woff2'),
         url('https://wiki.lilauid.com/fonts/GenYoGothic-L.ttc') format('truetype');
    font-weight: 300; /* Light */
    font-style: normal;
}

@font-face {
    font-family: 'GenYoGothic';
    src: url('https://wiki.lilauid.com/fonts/GenYoGothic-R.woff2') format('woff2'),
         url('https://wiki.lilauid.com/fonts/GenYoGothic-R.ttc') format('truetype');
    font-weight: 400; /* Regular */
    font-style: normal;
}

@font-face {
    font-family: 'GenYoGothic';
    src: url('https://wiki.lilauid.com/fonts/GenYoGothic-M.woff2') format('woff2'),
         url('https://wiki.lilauid.com/fonts/GenYoGothic-M.ttc') format('truetype');
    font-weight: 500; /* Medium */
    font-style: normal;
}

@font-face {
    font-family: 'GenYoGothic';
    src: url('https://wiki.lilauid.com/fonts/GenYoGothic-B.woff2') format('woff2'),
         url('https://wiki.lilauid.com/fonts/GenYoGothic-B.ttc') format('truetype');
    font-weight: 700; /* Bold */
    font-style: normal;
}

@font-face {
    font-family: 'GenYoGothic';
    src: url('https://wiki.lilauid.com/fonts/GenYoGothic-H.woff2') format('woff2'),
         url('https://wiki.lilauid.com/fonts/GenYoGothic-H.ttc') format('truetype');
    font-weight: 900; /* Heavy */
    font-style: normal;
}

@font-face {
    font-family: 'I.MingVarCP';
    src: url('https://wiki.lilauid.com/fonts/I.MingVarCP-8.10.woff2') format('woff2'),
         url('https://wiki.lilauid.com/fonts/I.MingVarCP-8.10.ttf') format('truetype');
    font-weight: 400; /* Regular */
    font-style: normal;
}