* {
    position: relative;
    margin: 0;
    padding: 0;
    font-family: "Noto Sans TC", sans-serif;
    letter-spacing: 0;
    border: none;
    outline: none;
    background-color: rgba(0, 0, 0, 0);
    word-wrap: break-word;
    text-decoration: none;
    box-sizing: border-box;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation;
    -webkit-touch-callout: inherit;
    -webkit-user-select: inherit;
    -khtml-user-select: inherit;
    -moz-user-select: inherit;
    -ms-user-select: inherit;
    user-select: inherit
}

*::-webkit-scrollbar {
    display: none
}

* [user-select=false],
* [user-select="0"] {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

* [user-select=true],
* [user-select="1"] {
    -webkit-touch-callout: initial;
    -webkit-user-select: initial;
    -khtml-user-select: initial;
    -moz-user-select: initial;
    -ms-user-select: initial;
    user-select: initial
}

*::before,
*::after {
    box-sizing: border-box
}

img {
    content: url("data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==");
    object-fit: cover
}

img[src]:not([src=""]) {
    content: unset
}

img[data-src] {
    background: linear-gradient(to right, #EEF0F3, #E0E2E8, #EEF0F3)
}

textarea {
    resize: none
}

input,
textarea,
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none
}

input::placeholder,
textarea::placeholder {
    color: hsl(223, 11%, 81%);
    opacity: 1
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: hsl(223, 11%, 81%)
}

input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
    color: hsl(223, 11%, 81%)
}

a[href]:not([href=""]),
button {
    cursor: pointer
}

html {
    position: fixed;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden
}

body {
    position: relative;
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 100%;
    background: #282c34
}

body section.pin {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 1.5rem;
    background-color: rgba(0, 0, 0, .5019607843)
}

body section.pin span {
    font-size: .75rem;
    color: #fff
}

body section.shortcut {
    position: absolute;
    top: 1.5rem;
    left: 0;
    right: 0;
    bottom: 4rem;
    display: flex;
    flex-flow: column wrap;
    justify-content: flex-start;
    align-content: flex-end;
    padding: 1rem;
    gap: 0
}

body section.shortcut div {
    width: 6rem;
    display: flex;
    flex-flow: column;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border-radius: .5rem;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer
}

body section.shortcut div.over {
    opacity: .3
}

@media(hover: hover) {
    body section.shortcut div:hover {
        background-color: rgba(0, 0, 0, .1019607843);
        transition: .3s
    }
}

body section.shortcut div * {
    pointer-events: none
}

body section.shortcut div img {
    object-fit: contain;
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    filter: drop-shadow(0 0.125rem 0.25rem rgba(0, 0, 0, 0.2039215686));
    -webkit-filter: drop-shadow(0 0.125rem 0.25rem rgba(0, 0, 0, 0.2039215686))
}

body section.shortcut div span {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    max-width: 100%;
    height: 2rem;
    line-height: 1rem;
    text-overflow: ellipsis;
    text-align: center;
    font-weight: 500;
    font-size: .75rem;
    letter-spacing: 1px;
    color: #fff;
    overflow: hidden
}

body section.dock {
    position: absolute;
    left: 50%;
    bottom: .5rem;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    gap: .75rem;
    padding: .5rem
}

body section.dock::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height: 3.5rem;
    background-color: rgba(255, 255, 255, .5019607843);
    border-radius: .75rem
}

body section.dock button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    transition: .3s;
    filter: drop-shadow(0 0.25rem 0.5rem rgba(0, 0, 0, 0.1019607843));
    -webkit-filter: drop-shadow(0 0.25rem 0.5rem rgba(0, 0, 0, 0.1019607843))
}

@media(hover: hover) {
    body section.dock button:hover {
        width: 4rem;
        height: 4rem
    }
}

body section.dock button img {
    object-fit: contain;
    width: 100%;
    height: 100%
}

body section.dock>div.window {
    z-index: 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    top: unset !important;
    left: unset !important;
    padding: .25rem !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
    min-width: unset !important;
    min-height: unset !important;
    border-radius: .25rem !important;
    resize: none !important;
    overflow: visible !important;
    background-color: rgba(0, 0, 0, .5019607843) !important;
    border-radius: .75rem !important;
    transition: .3s
}

body section.dock>div.window::after {
    content: attr(title);
    position: absolute;
    top: -2.25rem;
    padding: 0 .75rem;
    height: 1.75rem;
    line-height: 1.75rem;
    font-weight: 500;
    font-size: .75rem;
    background-color: rgba(0, 0, 0, .8);
    color: #fff;
    white-space: nowrap;
    border-radius: .5rem;
    opacity: 0;
    transition: .3s
}

@media(hover: hover) {
    body section.dock>div.window:hover::after {
        opacity: 1
    }
}

body section.dock>div.window>button {
    display: flex
}

body section.dock>div.window>header,
body section.dock>div.window>section {
    display: none
}

body .icon {
    padding: .25rem .75rem;
    background: rgba(255, 255, 255, .8);
    border-radius: 5px;
    text-align: center;
    cursor: pointer
}

body div.window {
    z-index: 1;
    position: absolute;
    min-width: 30rem;
    min-height: 22.5rem;
    width: initial;
    height: initial;
    background: #fff;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2039215686);
    resize: both;
    overflow: hidden;
    border-radius: .5rem
}

body div.window[data-drag="1"] {
    opacity: 0.75;
}

body div.window[data-drag="1"]::after {
    z-index: 1000;
    content: "";
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 2.5rem;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    border-radius: 0 0 .5rem .5rem;
}

body div.window[data-max="1"] {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    resize: none !important
}

body div.window>button {
    display: none;
    filter: drop-shadow(0 0 0.25rem rgba(0, 0, 0, 0.1019607843));
    -webkit-filter: drop-shadow(0 0 0.25rem rgba(0, 0, 0, 0.1019607843))
}

body div.window>button * {
    pointer-events: none
}

body div.window>button img {
    object-fit: contain;
    width: 2rem;
    height: 2rem
}

body div.window>header {
    z-index: 1;
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 .75rem;
    width: 100%;
    height: 2.5rem;
    background: #fdfdfd;
    border-bottom: 1px solid #d9d9d9
}

body div.window>header strong {
    font-weight: 500;
    font-size: .875rem;
    color: #4c4c4c
}

body div.window>header>section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem
}

body div.window>header>section>section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .75rem
}

body div.window>header>section>section button {
    display: flex;
    justify-content: center;
    align-items: center
}

body div.window>header>section>section button i {
    pointer-events: none;
    font-size: 1rem;
    color: #4c4c4c
}

body div.window>section {
    position: relative;
    margin-bottom: .5rem;
    min-height: 19.5rem;
    height: calc(100% - 2.5rem - .5rem);
    display: flex;
    overflow: scroll
}

body div.window>section[data-mode=list] {
    padding: 0 .75rem;
    flex-flow: column;
    gap: 0
}

body div.window>section[data-mode=list]>div {
    padding: .75rem;
    width: 100%;
    display: flex;
    flex-flow: row;
    flex-shrink: 0;
    gap: .75rem;
    justify-content: flex-start;
    align-items: center
}

body div.window>section[data-mode=list]>div:nth-child(2n) {
    background-color: #f4f5f5
}

body div.window>section[data-mode=list]>div.over {
    opacity: .3
}

body div.window>section[data-mode=list]>div img {
    object-fit: contain;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    pointer-events: none
}

body div.window>section[data-mode=list]>div span {
    font-size: .875rem;
    letter-spacing: 1px;
    pointer-events: none
}

body div.window>section[data-mode=grid] {
    padding: 1.5rem;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
    gap: 1.5rem
}

body div.window>section[data-mode=grid]>div {
    width: 6rem;
    display: flex;
    flex-flow: column;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border-radius: .5rem;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer
}

@media(hover: hover) {
    body div.window>section[data-mode=grid]>div:hover {
        background-color: rgba(0, 0, 0, .1019607843);
        transition: .3s
    }
}

body div.window>section[data-mode=grid]>div.over {
    opacity: .3
}

body div.window>section[data-mode=grid]>div * {
    pointer-events: none
}

body div.window>section[data-mode=grid]>div img {
    object-fit: contain;
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    filter: drop-shadow(0 0.125rem 0.25rem rgba(0, 0, 0, 0.2039215686));
    -webkit-filter: drop-shadow(0 0.125rem 0.25rem rgba(0, 0, 0, 0.2039215686))
}

body div.window>section[data-mode=grid]>div span {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    max-width: 100%;
    height: 2rem;
    line-height: 1rem;
    text-overflow: ellipsis;
    text-align: center;
    font-weight: 500;
    font-size: .75rem;
    letter-spacing: 1px;
    overflow: hidden
}

body div.window>section iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 0;
    width: 100%;
    height: 100%
}

body div.window>section textarea {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 0 .75rem;
    width: 100%;
    height: 100%;
    line-height: 1.75rem;
    font-size: 1rem
}