.dashboard-btn-wrapper {
    position: relative;
}
.dashboard-btn-wrapper .btn-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}
.dashboard-btn {
    width: 30px;
    height: 30px;
    background: url(../images/global/icon_dashboard.svg) center / contain no-repeat;
    margin-left: 25px;
    cursor: pointer;
}

.dashboard-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 101;
    overflow-y: auto;
    opacity: 0;
    display: none;
    transition: 0.5s allow-discrete;
}
.dashboard-wrapper.act {
    opacity: 1;
    display: block;
    @starting-style {
        opacity: 0;
    }
}
.dashboard-wrapper:before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}
.dashboard-wrapper .header {
    background-color: transparent;
    position: relative;
}
.dashboard-close {
    position: relative;
    width: 30px;
    height: 26px;
    cursor: pointer;
}
.dashboard-close span.line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--header-color);
    transform-origin: right;
    transform: rotate(-45deg);
    position: absolute;
}
.dashboard-close span.line2 {
    transform: rotate(-135deg);
    right: 70%;
}

.dashboard {
    position: relative;
    padding: 60px 0 100px;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
}
.dashboard-title {
    font-family: 'good-times', /*'Noto Sans SC',*/ 'Microsoft YaHei', "Heiti SC",'STHeiti Light','PMingLiU', sans-serif;
    font-size: 20px;
    color: var(--text-highlight-color-4);
    margin-bottom: 40px;
}
.dashboard-content {
    display: grid;
    gap: 20px;
}
.dashboard-content .title {
    font-family: 'Roboto', /*'Noto Sans SC',*/ 'Microsoft YaHei', "Helvetica Neue", Helvetica, "sans-serif";
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 40px;
}
.dashboard .access {
    display: grid;
    gap: 20px;
}
.dashboard .access .block {
    position: relative;
    background-color: rgba(55, 200, 252, 0.8);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.dashboard .access .item {
    position: relative;
    width: 100%;
    border: 3px dashed rgba(55, 200, 252, 0.8);
    padding: 30px 60px 30px 30px;
    display: flex;
    align-items: flex-end;
    min-width: 0;
}
.dashboard .access .item.act {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
}
.dashboard .access .link a {
    font-size: 16px;
    line-height: 1.3;
    color: #0D5786;
}
.dashboard .access .close {
    position: absolute;
    width: 20px;
    height: 20px;
    cursor: pointer;
    top: 30px;
    right: 20px;
}
.dashboard .access .close:before {
    content: '';
    width: 26px;
    height: 3px;
    background-color: var(--text-highlight-color-3);
    position: absolute;
    transform: rotate(45deg);
    transform-origin: left;
}
.dashboard .access .close:after {
    content: '';
    width: 26px;
    height: 3px;
    background-color: var(--text-highlight-color-3);
    position: absolute;
    transform: rotate(135deg);
    transform-origin: left;
    left: 90%;
}
.dashboard .recent {
    position: relative;
    width: 100%;
    background-color:rgb(from #707070 r g b / 80%);
    padding: 40px 30px;
}
.dashboard .recent ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 20px;
}
.dashboard .recent ul li:before {
    content: '…';
    color: #fff;
    position: absolute;
    left: 0;
    top: -5px;
}
.dashboard .recent a {
    font-size: 16px;
    color: #fff;
}
.dashboard .info-btn {
    position: relative;
    width: 24px;
    height: 24px;
}
.dashboard .icon-info {
    width: 100%;
    height: 100%;
    background: url(../images/global/icon_information.svg) center / contain no-repeat;
    cursor: pointer;
}
.dashboard .tooltip {
    position: absolute;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    background-color: #ED7C2E;
    padding: 10px 20px;
    border-radius: 10px;
    z-index: 1;
    bottom: -5px;
    left: 45px;
    opacity: 0;
    transition: 0.3s;
}
.dashboard .tooltip:before {
    content: '';
    position: absolute;
    border-width: 8px 8px 8px 0;
    border-style: solid;
    border-color: transparent #ED7C2E;
    top: 10px;
    left: -8px;
}
.dashboard .tooltip .icon-bookmark {
    display: inline-block;
    width: 18px;
    height: 14px;
    background: url(../images/global/icon_bookmark_orange.svg) center / contain no-repeat;
    margin-bottom: -1px;
}
.dashboard:has(.icon-info:hover) .tooltip {
    opacity: 1;
}

a.btn-bookmark {
    display: flex;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 10px 0 0 10px;
    background-color: var(--text-highlight-color-4);
    position: fixed;
    right: 0;;
    bottom: 325px;
    z-index: 11;
}
.icon-bookmark {
    display: block;
    width: 45px;
    height: 100%;
    background: url(../images/global/icon_bookmark_yellow.svg) no-repeat center / 45%; 
    flex-shrink: 0;
}
a.btn-bookmark .remark {
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
}
.home a.btn-bookmark, .body:has(.mainWrapper.bio) a.btn-bookmark {
    display: none;
}
a.btn-bookmark.act {
    animation: btn 1.5s forwards;
}
@keyframes btn {
    0% { width: 45px; opacity: 1; }
    30% { width: 200px; opacity: 1; }
    60% { width: 200px; opacity: 1; }
    100% { width: 45px; opacity: 0.4; }
}

.dashboard-notices {
    position: fixed;
    min-width: 320px;
    padding: 20px 30px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0  10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    z-index: 20;
    overflow: hidden;
    opacity: 0;
    display: none;
    transition: 0.5s allow-discrete;
}
.dashboard-notices.act {
    opacity: 1;
    display: block;
    @starting-style {
        opacity: 0;
    }
}
.dashboard-notices div {
    font-size: 16px;
    color: #fff;
    line-height: 1.3;
    display: none;
}
.dashboard-notices div.act {
    display: block;
}

@media screen and (min-width: 768px) {
    .dashboard-btn {
        width: 36px;
        height: 36px;
        margin-left: 40px;
    }

    .dashboard-close {
        width: 40px;
        height: 32px;
    }
    .dashboard-title {
        font-size: 28px;
    }
    .dashboard-content .title {
        font-size: 22px;
    }
    .dashboard .access {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .dashboard .access .block {
        padding: 50px 30px 30px;
        grid-row: 1 / span 3;
    }
    .dashboard .access .item {
        aspect-ratio: 1;
        padding: 30px;
    }
    .dashboard .access .link a {
        font-size: 20px;
    }
    .dashboard .access .close {
        top: 20px;
    }
    .dashboard .recent {
        padding: 50px 40px;
    }
    .dashboard .recent a {
        font-size: 20px;
    }
    .dashboard .info-btn {
        width: 36px;
        height: 36px;
    }
    .dashboard .tooltip {
        font-size: 18px;
        padding: 12px 25px;
        border-radius: 15px;
        bottom: calc(100% + 15px);
        left: -50px;
    }
    .dashboard .tooltip:before {
        border-width: 10px 9px 0;
        border-color: #ED7C2E transparent;
        top: 100%;
        left: 59px;
    }
    .dashboard .tooltip .icon-bookmark {
        width: 22px;
        height: 18px;
        margin-bottom: -2px;
    }
    .dashboard-notices {
        padding: 30px 50px;
    }
    .dashboard-notices div {
        font-size: 18px;
    }
}
@media screen and (min-width: 1024px) {
    .dashboard .access {
        grid-template-columns: repeat(4, 1fr);
    }
    .dashboard .access .block {
        grid-row: 1 / span 2;
    }
}
@media screen and (min-width: 1200px) {
    a.btn-bookmark {
        width: 75px;
        height: 75px;
        bottom: 360px;
    }
    .icon-bookmark {
        width: 75px;
    }
    a.btn-bookmark .remark {
        font-size: 18px;
    }
    @keyframes btn {
        0% { width: 75px; opacity: 1; }
        30% { width: 280px; opacity: 1; }
        60% { width: 280px; opacity: 1; }
        100% { width: 75px; opacity: 0.4; }
    }
}
@media screen and (min-width: 1366px) {
    .dashboard-title {
        font-size: 36px;
    }
    .dashboard-content {
        grid-template-columns: 2fr 1fr;
    }
    .dashboard-content .title {
        font-size: 28px;
    }
}

/*** DARK THEME ***/
.dark .dashboard-btn {
    filter: brightness(0) invert(1);
}
.dark .dashboard-wrapper {
    background-color: rgba(28, 31, 41, 0.8);
}
.dark .dashboard .access .block {
    background-color: rgba(13, 87, 134, 0.8);
}
.dark .icon-bookmark {
    background: url(../images/global/icon_bookmark_blue.svg) no-repeat center / 45%;
}

/*** INACTIVE ***/
.dashboard-btn-wrapper.inactive {
    opacity: 0.4;
}
.dashboard-btn-wrapper.inactive .btn-overlay {
    display: block;
}
a.btn-bookmark.inactive {
    opacity: 0.4;
    cursor: auto;
}