@media screen and (min-width: 1450px) { 
    #main { 
        width: 1450px; 
        margin: 10px auto; 
    }
}

a { 
    text-decoration: none; 
}

a:link, a:visited { 
    color: #1257F9; 
}

a:hover, button:hover, span.btn:hover { 
    color: #c20c24; 
}

@font-face {
    font-family: PUAExt;
    src: url(../fonts/PUAExt-Regular.woff2);
}

@font-face {
	font-family: Source;
	    src: url(../fonts/Source.woff2);
}

.han {
    font-family: PUAExt, Source, ExtIcon, TH-Sy-P0, TH-Sy-P2, TH-Sy-P16, Microsoft YaHei, MingLiU, MingLiU-ExtB; 
}

#keyboard button {
	font-family: PUAExt, plgo, Source, ffallback;
}

#popview .func:hover { 
    border-radius: 7px; 
}

#result #output a.img, #popview #bigchar.img { 
    background-position: center center; 
    background-repeat: no-repeat;
    height: 1em;
    top: 10px;
    color: #00000000 !important;
}

#result #groups a.img { 
    background-repeat: no-repeat; 
    background-size: 83% !important; 
    background-position: top 0.1em center !important; 
}

#sk_header { 
    margin-bottom: 10px; 
}

#sk_header #sk_logo { 
    float: left; 
    width: 200px; 
    text-align: center; 
    cursor: default; 
}

#sk_header #sk_logo h1 { 
    margin: -10px 0; 
    font-size: 2.4em; 
    font-weight: normal; 
}

#sk_header #sk_logo h3 { 
    margin: 5px 0 0 0; 
    font-weight: bold; 
    font-size: 1em; 
    font-family: Arial, Helvetica, sans-serif; 
}

#sk_header #sk_logo #datasize { 
    color: #a13887; 
}

#sk_header button, #sk_header #input, #scKey button { 
    cursor: pointer; 
    font-size: 2.5em; 
    line-height: 1; 
    padding: 2px; 
    min-width: 30px; 
    height: 50px; 
    box-sizing: content-box; 
    vertical-align: top; 
    border-radius: 8px; 
    border: 1px solid #666; 
}

#funcs { 
    padding: 10px 10px 0; 
    border-top: 2px solid #ccc; 
    clear: both; 
}

#funcs label { 
    margin-right: 10px; 
    white-space: nowrap; 
}

#scKey button { 
    color: #00f; 
    font-weight: normal; 
    padding: 0 2px; 
    margin-right: 1px; 
    font-size: 12pt; 
    line-height: 1; 
    width: 1.5em; 
    height: 1.5em; 
}

#scKey button.img { 
    background-repeat: no-repeat; 
    background-size: 18px 18px; 
    background-position: center; 
}

#keyboard { 
    padding: 5px 10px 10px; 
    border-bottom: 2px solid #ccc; 
    clear: both; 
}

#keyboard #padbtn { 
    font-size: 1.5em; 
    background: #ccc; 
    cursor: pointer; 
    padding: 2px; 
}

#keyboard table { 
    width: 100%; 
    border-collapse: collapse; 
}

#keyboard table th, #keyboard table td { 
    margin: 1px 0; 
    padding: 2px 4px; 
}

#keyboard table.strokeKB th { 
    width: 3.5em; 
    vertical-align: top;
}

#keyboard table td { 
    vertical-align: top; 
}

#keyboard table td .sub { 
    white-space: nowrap; 
}

#keyboard table td .sub .tag { 
    font-size: 85%; 
    vertical-align: middle; 
    margin: 0 5px 0 0;
}

#keyboard button { 
	width: 18pt;
	line-height: 1em;
	height: 18pt;
	font-size: 14pt;
	background: #eee;
	border-radius: 5px;
	border-width: 1px;
	padding: 1px 2px;
	border-color: #0000002e;
	margin: 1px 1px 1px 1px;
	cursor: pointer;
	vertical-align: top;
}

#keyboard button:hover { 
    background: #ffc; 
}

#result { 
    padding: 10px 12px; 
}

#result #legend { 
    line-height: 180%; 
    vertical-align: bottom; 
    padding-bottom: 10px; 
}

#result #legend .zone { 
    display: inline-block; 
    white-space: nowrap; 
    margin-right: 6px; 
}

#result #legend button { 
    width: 24px; 
    height: 24px; 
    padding: 2px; 
    border: 1px solid #bbb; 
    cursor: pointer; 
    color: transparent; 
    margin-right: 4px; 
    vertical-align: top; 
    line-height: 1; 
    border-radius: 8px; 
}

#result #legend #counter { 
    font-weight: bold; 
    color: #00f; 
    white-space: nowrap; 
}

#result #legend #counter:after { 
    content: '　'; 
}

#result #groups { 
    display: none; 
    min-height: 55px; 
    font-size: 1.6em; 
    line-height: 1; 
    padding: 5px 10px; 
    background-color: #f4f4f4; 
    border-top: 1px dashed #aaa; 
}

#result #groups a { 
    border: 1px solid #aaa; 
    color: #333 !important; 
    border-radius: 3px; 
    background-color: #fff; 
    padding: 1px; 
    margin: 2px; 
    width: 1em; 
    display: inline-block; 
    overflow: hidden; 
}

#result #groups a.img { 
    background-repeat: no-repeat; 
    background-size: 27px 27px; 
    background-position: top center; 
}

#result #groups a:after { 
    content: attr(data-count); 
    display: block; 
    text-align: center; 
    font: 50%/1.4 Arial, Helvetica, sans-serif; 
}

#result #groups a.on { 
    background-color: #eaa; 
}

#result #output { 
    min-height: 100px; 
    font-size: 2.5em; 
    line-height: 1; 
    padding: 10px 0; 
    clear: both; 
    border-top: 1px dashed #aaa; 
}

#result #output a { 
    border: 1px solid #aaa; 
    color: #333 !important; 
    padding: 1px; 
    margin: 2px; 
    width: 1em; 
    display: inline-block; 
    border-radius: 8px; 
    overflow: hidden; 
    border-color: #00000017; 
    box-shadow: 0px 0px 6px #00000047; 
}

#result #output a.img { 
    background-repeat: no-repeat; 
    background-size: 1em 1em; 
    color: transparent !important; 
}

#result #output > span { 
    margin: 3px 0; 
    padding: 4px 8px; 
    display: block; 
}

#result #output > span .line { 
    display: inline-block; 
    margin-bottom: 2px; 
    padding-bottom: 1px; 
    border-bottom: 2px solid #666; 
}

#result #output > span .line.hover { 
    border-bottom: 2px solid #e08 !important; 
    color: #e08; 
}

#result #output > span .sub { 
    font-size: 95%; 
}

#result #output h3 { 
    margin: 0 10px 0 0; 
    padding: 0; 
    display: inline-block; 
    width: 1em; 
    font-size: 1em; 
    line-height: 1.2; 
    vertical-align: top; 
    user-select: none; 
}

#result #output h3.img { 
    background-repeat: no-repeat; 
    background-size: 27px 27px; 
    color: transparent !important; 
}

#sk_foot { 
    clear: both; 
    font-size: 0.85em; 
    text-align: right; 
    padding-top: 20px; 
    height: 100px; 
}

#sk_foot > span { 
    padding: 3px 10px; 
    white-space: nowrap; 
}

.K1 { 
    color: #0000aa !important; 
}

.K2 { 
    color: #004d26 !important; 
}

.K3 { 
    color: #752796 !important; 
}

.K4 { 
    color: #ac3333 !important; 
}

.BSC { 
    background: #eee; 
}

.ExA { 
    background: #C0E8FF; 
}

.ExB { 
    background: #FFF8D0; 
}

.ExC { 
    background: #D1BADA; 
}

.ExD { 
    background: #80FFB0; 
}

.ExE { 
    background: #FFC0D0; 
}

.ExF { 
    background: #90E0D0; 
}

.ExG { 
    background: #CBD0FF; 
}

.ExH { 
    background: #e37be7; 
}

.ExI { 
    background: #E7EC9b; 
}

.CMP { 
    background: #aaa; 
}

.SUP { 
    background: #FCC800; 
}

.OTH { 
    background: #9e8f8f; 
}

.exact { 
    outline: 1px solid #c43400; 
    border-color: #c43400 !important; 
}

#popview { 
    position: absolute; 
    display: none; 
    width: 100px; 
    min-height: 125px; 
    padding-left: 100px; 
    border: 1px solid #666; 
    border-radius: 8px; 
    background: rgba(255, 255, 255, 0.9); 
    box-shadow: 2px 2px #aaa; 
    z-index: 10; 
}

#popview #bigchar { 
    position: absolute; 
    display: block; 
    left: 0; 
    top: 0; 
    width: 100px; 
    height: 100px; 
    font-size: 80px; 
    text-align: center; 
    line-height: 100px; 
    cursor: default; 
    color: unset !important;
}

#popview #codetag { 
    position: absolute; 
    display: block; 
    left: 0; 
    top: 100px; 
    width: 100px; 
    font-size: 15px; 
    color: #074a67; 
    text-align: center; 
    font-family: Arial, Helvetica, sans-serif; 
    cursor: default; 
}

#popview .func { 
    display: block; 
    cursor: pointer; 
    padding: 2px 5px; 
    color: #333; 
}

#popview .func:hover { 
    background: #ff5b84; 
    color: #fff; 
}

@media screen and (max-width: 800px) { 
    .els { 
        display: none; 
    }

    #sk_header { 
        text-align: center; 
    }

    #sk_header #sk_logo { 
        float: none; 
        clear: both; 
        display: block; 
        width: 100%; 
        margin-bottom: 5px; 
    }

    #sk_header #sk_logo h1 { 
        font-size: 2em; 
    }

    #sk_header #sk_logo h1, #sk_header #sk_logo h3 { 
        margin: 0; 
        display: inline-block; 
    }

    #sk_header #input { 
        width: 220px; 
        font-size: 1.8em; 
        height: 35px; 
    }

    #sk_header button { 
        font-size: 1.8em; 
        height: 35px; 
    }

    #keyboard table th { 
        width: 2.2em; 
    }

    #keyboard table td .sub { 
        white-space: normal; 
    }

    #result #legend .zone { 
        width: 28px; 
        overflow: hidden; 
        margin-right: 2px; 
        color: #000; 
    }

    #result #legend button { 
        color: #000; 
    }

    #sk_foot > span { 
        display: block; 
    }
}

@font-face {
    font-family: dela;
    src: url(../fonts/dela.woff2);
}

h1, #sk_header button { 
    font-family: dela; 
}

.set-v2-popup { 
    position: fixed; 
    z-index: 500000; 
    top: 50%; 
    left: 50%; 
    display: none; 
    width: 0; 
    height: 0; 
}

.set-v2-popup-container { 
    position: relative; 
    top: -75px; 
    left: -100px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width: 200px; 
    height: 150px; 
    text-align: center; 
}

.set-v2-popup-block { 
    position: relative; 
    display: inline-block; 
    box-sizing: border-box; 
    width: 140px; 
    height: 96px; 
    padding-top: 19px; 
    color: white; 
    border-radius: 8px; 
    background: rgba(0, 0, 0, 0.8); 
}

.set-v2-popup-symbol { 
    height: 38px; 
    font-size: 32px; 
    font-family: PUAExt, plgo1, plgo2, Source, 'Noto Sans SC', 'Noto Sans CJK SC', 'Source Han Sans SC', 思源黑体, ExtIcon, TH-Sy-P0, TH-Sy-P2, TH-Sy-P16, MingLiU, MingLiU-ExtB; 
    line-height: 38px; 
}

.set-v2-popup-text { 
    position: absolute; 
    right: 0; 
    bottom: 15px; 
    left: 0; 
    width: 100%; 
    vertical-align: bottom; 
    color: rgba(255, 255, 255, 0.65); 
    font-size: 14px; 
    font-family: PUAExt, 'Noto Sans SC', 'Noto Sans CJK SC', 'Source Han Sans SC', 思源黑体; 
    line-height: 1; 
}

.strokeKB