@charset "utf-8";

/*小于1400px时*/
@media (max-width: 1400px) {}

/*小于1200px时*/
@media (max-width: 1200px) {

    /*总布局*/
    .container,
    .container-lg,
    .container-md,
    .container-sm {
        max-width: 1000px !important;
    }

    .weekday {
        display: none;
    }

    /*音乐播放器*/
    .music-text {
        max-width: 170px !important;
    }
}

/*小于992px时*/
@media (max-width: 992px) {

    /*总布局*/
    .container,
    .container-lg,
    .container-md,
    .container-sm {
        max-width: 900px !important;
    }

    .col.left {
        margin-right: 0.75rem;
    }

    .col.right {
        margin-left: 0.75rem;
    }

    /*一言*/
    .col.hitokotos {
		margin-left: 0rem;
    }

    /*时间卡片*/
    .col.times {
        display: none;
    }

    /*日期显示*/
    .weekday {
        display: inline;
    }

    /*标题文字*/
    .main-img img {
        width: 110px;
    }

    span.img-title {
        font-size: 4.75rem;
    }

    span.img-text {
        font-size: 1.75rem;
    }

    span.img-sub-title {
        font-size: 4.75rem;
    }

    span.img-sub-text {
        font-size: 1.75rem;
    }

    /*链接卡片文字*/
    span.link-name {
        display: none !important;
    }

    .link-card i {
        margin-left: 10px !important;
        margin-right: 10px !important;
    }
	
}

/*小于840px时*/
@media (max-width: 840px) {

    #link-text {
        display: none !important;
    }

    .box-wrapper {
        top: 10%;
        transform: translate(-50%, 0);
        width: 80%;
        height: 80vh;
        height: 80dvh;
        min-height: 0;
        max-height: 80vh;
        max-height: 80dvh;
        padding: 18px;
        box-sizing: border-box;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .box-left {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 0;
        height: auto;
        overflow-x: hidden;
    }

    .box-left,
    .box-left * {
        box-sizing: border-box;
    }

    .box-right {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 0;
    }

    .box-left > .img-sub-title {
        width: 100%;
        margin-top: 4px;
        margin-left: 8px;
        transform: none;
    }

    .box-left span.img-sub-title {
        font-size: 3.2rem;
    }

    .box-left span.img-sub-text {
        font-size: 1.35rem;
    }

    .box-left > .img-sub-title br + span.img-sub-text {
        display: block;
        margin-top: 0.72em;
        margin-left: 0;
    }

    #accordion {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .box-left .accordion-button {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .box-left .accordion-body {
        overflow-x: hidden;
    }

    .box-left .set,
    .box-left .upnote {
        max-width: 100%;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        overflow-x: hidden;
    }

    .box-left .form-radio {
        flex: 1 1 calc(50% - 8px);
        width: auto;
        max-width: none;
        min-width: 0;
        margin: 4px;
    }

    .box-left input[type="radio"] + label {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .box-left .uptext {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        line-height: 1.45;
    }

    .box-left .uptext-inner-wrap {
        min-width: 0;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    #aplayer.left-mode {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0;
        margin-right: 0;
    }

    #aplayer.left-mode,
    #aplayer.left-mode * {
        box-sizing: border-box;
    }

    #aplayer.left-mode .aplayer-list,
    #aplayer.left-mode .aplayer-list ol {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    #aplayer.left-mode .aplayer-list ol li {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding-right: 10px !important;
    }

    #aplayer.left-mode span.aplayer-list-title,
    #aplayer.left-mode span.aplayer-list-author {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

}

/*小于789px时*/
@media (max-width: 789px) {

    /*标题文字*/
    span.img-text {
        font-size: 1.65rem;
    }

    span.img-sub-text {
        font-size: 1.65rem;
    }
}

/*小于768px时*/
@media (max-width: 768px) {

    /*标题文字*/
    .main-img img {
        width: 100px;
    }

    span.img-title {
        font-size: 4.5rem;
    }

    span.img-sub-title {
        font-size: 4.5rem;
    }
}

/*小于720px时*/
@media (max-width: 720px) {
	
	/*社交链接*/
    .social {
        max-width: 100%;
        justify-content: center;
    }

    .link i {
        margin: 0px 20px;
    }

    /*左侧栏高度*/
    .main-left {
        transform: translateY(20px);
    }

    /*左侧栏边距*/
    .col.left {
        margin-right: 0rem;
    }

    /*右侧栏隐藏*/
    .col.right {
        display: none;
    }

    /*右侧栏边距*/
    .col.right {
        margin-left: 0rem;
    }

    /*标题文字*/
    span.img-text {
        display: inline;
    }

    span.img-sub-text {
        display: inline;
    }

    /*简介*/
    .message {
        max-width: 100%;
        pointer-events: none;
    }

    /*
    .des {
        justify-content: space-between;
    }
    */

    /*链接卡片*/
    .link-card {
        height: 80px !important;
        align-items: center !important;
        flex-direction: column !important;
        justify-content: center !important;
    }

    .link-card i {
        font-size: 1.75rem;
    }

    span.link-name {
        display: block !important;
        font-size: 0.85rem;
    }

    span.line-text,
    i.iconfont.icon-link {
        font-size: 1.05rem;
    }

    /*菜单栏按钮*/
    .menu {
        display: flex;
        justify-content: center;
        position: fixed;
        top: 84%;
    }

    .munu-button {
        padding: 5px 20px;
        background: var(--glass-tint);
        border: 1px solid var(--glass-border);
        box-shadow: var(--glass-shadow), var(--glass-shine);
        backdrop-filter: var(--glass-backdrop);
        -webkit-backdrop-filter: var(--glass-backdrop);
        border-radius: var(--glass-radius-pill);
        font-size: 1.25rem;
        transition: transform 220ms var(--ease-out), opacity 220ms var(--ease-out);
        width: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 40px;
    }

    /*页脚文字*/
    footer {
        font-size: 0.85rem;
    }

    /*一言*/
    .col.hitokotos {
        margin-right: 0rem;
    }

    .hitokoto-text,
    .hitokoto-from {
        font-size: 1.05rem;
    }

    /*音乐播放器*/
    .music-text {
        max-width: 100% !important;
    }

    #music-name {
        font-size: 1.05rem;
    }
/*
    #aplayer {
        display: none;
    }
*/
    /*隐藏鼠标样式*/
    #cursor {
        background: transparent !important;
    }

}

/*小于390px时*/
@media (max-width: 390px) {
    .main-img img {
        display: none;
    }
}

/* 大于568px时 */
@media (min-width: 568px) {
    .iziToast {
        border-radius: 30px !important;
    }
}


/* 大于720px时 */
@media (min-width: 720px) {
    .menu {
        display: none !important;
    }
}

/* 大于992px时 */
@media (min-width: 992px) {

    /*时钟显示*/
    span#win_text,
    span#win_speed {
        display: none;
    }
}

/* 大于1400px时 */
@media (min-width: 1400px) {

    /*时钟显示*/
    span#win_text,
    span#win_speed {
        display: inline !important;
    }
}

/* 大于992px小于1200px时 */
@media (min-width: 993px) and (max-width: 1199px) {
    .music.cards {
        max-width: 232px;
    }
}

/*
菜单按钮
*/
.menus .col.left {
    display: none;
}

.menus .col.right {
    display: block !important;
    transition: transform 220ms var(--ease-out), opacity 220ms var(--ease-out);
    padding: 0rem 0.75rem;
}

/*功能区调整*/
.menus .col.hitokotos {
    display: block;
}

.menus .col.times {
    display: none;
}

/*边界布局*/
.menus .row {
    --bs-gutter-x: 0rem;
}

.menus .col.\32 {
    margin: 0 0.75rem;
}

.menus .logo {
    display: inline !important;
    text-align: center;
    position: fixed;
    top: 8%;
    font-size: 1.75rem;
}

/*第二屏logo*/
.logo-text {
    font-family: 'Pacifico-Regular' !important;
}

/*切换动画*/
/*
.hitokoto,
.time,
.link-card,
.message {
    animation: fade-in;
    -webkit-animation: fade-in 0.5s;
    -moz-animation: fade-in 0.5s;
    -o-animation: fade-in 0.5s;
    -ms-animation: fade-in 0.5s;
}
*/
.logo,
.line,
.main-img,
.social,
.close,
.hitokoto,
.time,
.link-card,
.message,
#link-text {
    animation: fade 0.5;
    -webkit-animation: fade 0.5s;
    -moz-animation: fade 0.5s;
    -o-animation: fade 0.5s;
    -ms-animation: fade 0.5s;
}

/*
移动端功能区切换
*/
.mobile .col.hitokotos {
    display: none;
}

.mobile .col.times {
    display: block;
}

/* Liquid glass responsive fixes */
@media (max-width: 840px) {
    .box-wrapper,
    .box-right,
    #aplayer.left-mode,
    #aplayer.left-mode .aplayer-list,
    #aplayer.left-mode .aplayer-list ol {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .box-wrapper::-webkit-scrollbar,
    .box-right::-webkit-scrollbar,
    #aplayer.left-mode::-webkit-scrollbar,
    #aplayer.left-mode .aplayer-list::-webkit-scrollbar,
    #aplayer.left-mode .aplayer-list ol::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    #aplayer.left-mode .aplayer-list {
        overflow-x: visible !important;
        overflow-y: auto !important;
    }

    #aplayer.left-mode .aplayer-list ol {
        overflow-x: visible !important;
        overflow-y: auto !important;
        padding: 0 8px !important;
    }

    #aplayer.left-mode .aplayer-list ol li {
        padding-right: 15px !important;
    }
}

@media (max-width: 840px) {
    #wallpaper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #wallpaper .form-radio {
        width: auto;
        min-width: 0;
        max-width: none;
        margin: 0;
    }

    .box-wrapper,
    .terms-wrapper,
    .announcement-wrapper {
        transform: translate(-50%, 0) scale(0.97);
    }

    .modal-layer.is-open .box-wrapper,
    .modal-layer.is-open .terms-wrapper,
    .modal-layer.is-open .announcement-wrapper {
        transform: translate(-50%, 0) scale(1);
    }
}
