@charset "utf-8";

@font-face {
    fontfamily: "Comfortaa";
    src: local('Comfortaa'), url("/fonts/Comfortaa-Regular.ttf") format('truetype');
}

:root {
    overflow-y: auto;
    overflow-x: hidden;
    --font-family-main: -apple-system, BlinkMacSystemFont, "Zen Kaku Gothic New", "Rounded Mplus 1c", "Mplus 1p", "VL PGothic", "VL Gothic", "PingFang SC", "Hiragino Sans GB", "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "Source Han Sans JP", "更紗ゴシック J", "Sarasa Gothic SC", "Source Han Sans CN", "Source Han Sans", "Source Han Sans JP", "Yu Gothic Medium", "Noto Sans CJK JP", "Noto Sans CJK SC", "Noto Sans JP", "OPPO Sans 4.0", "OPPO Sans 3.0", "HONOR Sans CN", "HarmonyOS Sans", "vivo Sans", "Sarasa Gothic SC", "Noto Sans SC", "WenQuanYi Micro Hei", system-ui, "Microsoft YaHei", sans-serif;
    --font-family-cn: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "OPPO Sans 4.0", "OPPO Sans 3.0", "HONOR Sans CN", "HarmonyOS Sans", "vivo Sans", "Sarasa Gothic SC", "Source Han Sans CN", "Noto Sans CJK JP", "Noto Sans CJK SC", "Noto Sans SC", "WenQuanYi Micro Hei", "Microsoft YaHei", system-ui, "Microsoft YaHei", sans-serif;
    --font-family: "Comfortaa", var(--font-family-main);
    
    color-scheme: light dark;
    --bg-color: light-dark(#F9F7FD, #182024);
    --theme-border: light-dark(#EDEAFF, #3A3C48);
    --border-bg-color: light-dark(#FFF, #24282F);
    --border-bg-color2: light-dark(#FFF, #182024);
    --pageicon-bg-color: light-dark(#FFF, #24282F);
    --theme-pink: light-dark(#EE4884, #E0E0E0);
    --theme-lite-pink: light-dark(#F480AA, #FFF);
    --theme-article: light-dark(#444, #E0E0E0);
    --theme-article-inverted: light-dark(#FFF, #3A3C48);
    --theme-gray: light-dark(#F0F0F4, #3A3C48);
    --theme-toggle: light-dark(#FFF, #E0E0E0);
    --theme-glow: rgba(256,256,256,0.4);
    
    --img-opacity: 1;
    --logo-url: url("/pic/logo-1.webp");
    --nico-icon: url("/pic/niconico.png");

    & body { position: absolute; }

    &.light { 
        color-scheme: light; 
    }
    &.dark {
        color-scheme: dark; 

        --img-opacity: 0.9;
        --logo-url: url("/pic/logo-1-dark.webp");
        --nico-icon: url("/pic/niconico_白.png");
        
        .theme-border { box-shadow: none;}
        .ust-dl:hover .nc_icon { filter: invert(85.54%);}
        .icon-container #Niconico img {
            filter: none;
            &:hover { filter: invert(85.54%);}
        }

        #sun {display: none;}
        #moon {display: block;}
    }
}
@media (prefers-color-scheme: dark) {
    :root:not(.light){
        --img-opacity: 0.9;
        --logo-url: url("/pic/logo-1-dark.webp");
        --nico-icon: url("/pic/niconico_白.png");

        .theme-border { box-shadow: none;}
        .ust-dl:hover .nc_icon { filter: invert(85.54%);}
        .icon-container #Niconico img {
            filter: none;
            &:hover { filter: invert(85.54%);}
        }

        #sun {display: none;}
        #moon {display: block;}
    }
}


/* 自定义滚动条 */
::-webkit-scrollbar {width: 10px; height: 10px;}
::-webkit-scrollbar-track {
  background: light-dark(var(--border-bg-color), var(--bg-color));
}
::-webkit-scrollbar-thumb {
    background: light-dark(var(--border-bg-color), var(--bg-color));
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover{
    background: light-dark(var(--theme-pink), var(--border-bg-color));
}
@supports not selector(::-webkit-scrollbar) {
    *{
        scrollbar-color: var(--theme-pink) transparent;
        scrollbar-width: thin;
    }
}


/* 全局样式 */
html{
    position: relative;
    overflow-y: scroll; /* for IE8 */
}
body{
    width: 100vw;
    min-height: -webkit-fill-available;
    overflow: hidden;
    background-color: var(--bg-color);
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
	color: var(--theme-article);
    letter-spacing: 1px;
    line-height: 1.8em;
    transition: color 0.3s ease, background-color 0.3s ease, font-size 0.3s ease;
}
img { opacity: var(--img-opacity);}
h1 { text-align: center;}
h2{
    font-size: 22px;
    font-weight: 400;
    line-height: 36px;
    padding-bottom: 15px;
    margin: 0 auto 20px;
    text-align: center;
    position: relative;

    &::after{
        position: absolute;
        content: "";
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background-color: var(--theme-pink);
        bottom: 0;
        left: 50%;
    }
}
h3{
    font-family: var(--font-family-main);
    font-weight: 700;
    font-size: 24px;
    margin: 30px 0;
    text-align: left;

    &::before {
        content: '';
        display: inline-block;
        width: 6px;
        height: 0.95em;
        background: var(--theme-pink);
        margin: 0 14px 0 0;
        vertical-align: bottom;
    }
}
h4{
    font-size: 16px;
    margin: 20px auto;
}
p,a,span {
    font-size: 14px;
}
p{
	margin: 18px auto;
}
ruby > rt{
    color: var(--theme-pink);
    margin-bottom: 0.5px;
}
p ruby > rt{
    font-size: 60%;
}
span{
    color: var(--theme-pink);
    padding: 0 2px;
}
a{
	padding: 0 0.25em;
	position: relative;
	display: inline-block;
	color: light-dark(var(--theme-pink), #FFF);
    text-decoration: none;
}
a:not(.nodeco):hover{
    text-decoration: underline 1px dotted var(--theme-pink);
    text-underline-offset: 0.5em;
    transition: color 0.2s ease;
}
big{
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0;
    color: var(--theme-pink);
}
big ruby > rt{ font-weight: 400;}
small, small span{font-size: 11.5px;}

details{
    margin: 20px 0;
    &::details-content{
        max-height: 0;
        overflow: hidden;
        will-change: max-height;
        transition-behavior: allow-discrete;
        transition: max-height 1s;
    }
    &[open]::details-content{max-height: 1500px;}

    & summary{
        font-weight: 700;
        font-size: 16px;
        cursor: pointer;
        transition: color 0.15s ease-in;
    
        &:hover{color: var(--theme-pink);}
    }
}
.sub-details summary{font-size: 14px;}

del{
    display: inline;
    cursor: pointer;
    background: light-dark(var(--theme-article), var(--bg-color));
    padding: 0.12em 0.2em;
    text-decoration: none;
    color: transparent;
    user-select: none;
    pointer-events: auto;
    transition: color 0.2s ease 1.2s;

    &:active{
        cursor: text;
        color: light-dark(var(--theme-article-inverted), var(--theme-article));
        user-select: auto;
        transition: color 0.2s ease 0.1s;
    }
}
footer{
    margin: 25px 0;
    font-size: 11px;
}
nobr { white-space: nowrap; hyphens: none;}
hr {
    height: 0;
    margin: 0 auto 25px auto;
    padding: 0;
    border: 0;
    width: 200px;
    border-top: 1px dotted #2F2F2F;
}
mark{
	color: #fff;
	background-color: var(--theme-pink);
	padding: 0.5em;
}
.theme-border{
    background-color: var(--border-bg-color);
    border: 1px solid light-dark(var(--theme-border), var(--bg-color));
    box-shadow: 0px 2px 4px rgba(0,0,0,0.035);
    transition: background-color 0.3s ease, border 0.3s ease, box-shadow 0.3s ease;
}
.textleft{text-align: left !important;}
.textright{text-align: right !important;}
.textcenter{text-align: center !important;}
.textjustify{text-align: justify-all !important;}
.textindent{padding-left: 30px !important;}
.texthide{
    display: inline-block;
    color:transparent !important;
}
.show{
    display: block !important;
    unicode-bidi: isolate;
}
.hide{display: none !important;}
.btn {
    display: block;
    position: relative;
    margin: 24px 2px 0 2px;
    min-width: 80px;
    padding: 0 1.5em;
    line-height: 40px;
    border-radius: 6px;
    background: light-dark(var(--theme-pink), var(--border-bg-color));
    color: light-dark(#FFF, var(--theme-article));
    text-align: center;
    overflow: hidden;
    cursor: pointer;
    &:hover{
        color: var(--theme-pink);
        transition: .2s ease;
    }
}
.theme-border .btn {
    background: light-dark(var(--theme-pink), var(--bg-color));
}
.btn_sweep-left {
    z-index: 1;
    &::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 0;
        height: 100%;
        z-index: -1;
        border-radius: 5px;
        background-color: light-dark(var(--border-bg-color), var(--theme-border));
        transition: width .3s ease;
    }
    &:hover {
        &::after { left: 0; width: 100%;}
    }
}
.btn-border{ box-shadow: 0 0 2.5px light-dark(var(--theme-lite-pink), transparent);}

.blk{margin-top: calc(100vh - 667px);}
#minor-character .blk{margin-top: calc(100vh - 765px);}

/*========= Loading动画 ==========*/
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    will-change: transform, opacity;
    backface-visibility: hidden;
    transition: background-color .3s ease;

    & .loader-cover {
        position: fixed;
        top: 0;
        width: 100%;
        height: 100%;
        background: var(--bg-color);
        z-index: 1000;
    }
}
 
.loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 36px;
    height: 80px;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 80px;
    z-index: 1001;
    
    &::before {
        content: "";
        position: absolute;
        inset: 0;
        border: 1.5px solid light-dark(#E0DBD0, #848880);
        border-bottom: 3.5px solid light-dark(#CCC2B6, #A0A48E);
        background-color: light-dark(#EEE4DD, #404246);
        z-index: 9;
    }
    &::after {
        content: "";
        position: absolute;
        inset: -18px calc(50% - 2px) 8px;
        background-color: light-dark(#FF804D, #EE6030);   
        transform-origin: bottom;
        transform: rotate(8deg);
        z-index: 10;
    }
    & .liquid {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        margin: 5px 4.5px;
        background-color: light-dark(#733, #CCB);
        transform-origin: bottom;
        animation: drink 1.4s infinite linear;
        z-index: 11;
    }
}
@-webkit-keyframes drink {
    0% { transform: scaleY(0.9); }
    80% { transform: scaleY(0.05); }
    100% { transform: scaleY(0.05); }
}
@keyframes drink {
    0% { transform: scaleY(0.9); }
    80% { transform: scaleY(0.05); }
    100% { transform: scaleY(0.05); }
}

.loaded #loader-wrapper {
    visibility: hidden;

    & .loader-cover {
        background: #F4F4F400;
        transition: all .5s .2s cubic-bezier(0.4,0,0.4,1)
    }
}
.loaded .loader {
    opacity: 0;
    transition: all .3s ease-out;
}


/*========= 返回顶部按钮 ==========*/
#scroll-top-btn {
    display: block;
    position: fixed;
    right: -20px;
    bottom: 24px;
    text-align: center;
    z-index: 99;
    width: 50px;
    height: 50px;
    background-color: light-dark(var(--theme-pink), var(--border-bg-color));
    padding: 0;
    font-size: 25px;
    visibility: hidden;
    border-radius: 100px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;

    &.show {
        visibility: visible !important;
        transform: translateX(-30px);
    }
}


/*========= 汉堡菜单 ==========*/
#burger {
    position: fixed;
    top: 24px;
    right: 10px;
    z-index: 100;
}
#burger-toggle { display: none; }

/* 按钮 */
.burger-trigger {
    display: block;
    position: relative;
    width: 30px;
    height: 24px;
    cursor: pointer;

    &::before, &::after, & span {
        content: '';
        position: absolute;
        padding: 0;
        right: 0;
        width: 100%;
        height: 3px;
        background: var(--theme-pink);
        transition: transform 0.3s ease, rotate 0.3s ease, background-color 0.3s ease;
    }
    &::before { top: 0;}
    & span { top: 50%; transform: translateY(-50%);}
    &::after { bottom: 0;}
}

#burger-toggle:not(:checked) ~ .burger-trigger {
    background-color: var(--bg-color);
    transition: background-color 0.4s ease;

    &:hover::before, &:hover::after, &:hover span {
        background-color: var(--theme-lite-pink);
    }
}

/* 遮罩 */
.burger-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    background: light-dark(var(--theme-pink), var(--bg-color));
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, background 0.4s ease, visibility 0.4s ease;
}
#burger-toggle:not(:checked) ~ .burger-overlay {
    pointer-events: none; 
}

/* 激活状态动画 */
#burger-toggle:checked + .burger-trigger{
    &::before { transform: translateY(10.75px) rotate(45deg);}
    &::after { transform: translateY(-10.75px) rotate(-45deg);}
    & span { opacity: 0;}
    
    &::before, &::after, & span {
        background: var(--theme-toggle);
    }
    &:hover{
        &::before, &::after, & span {
            box-shadow: 0px 0px 5px var(--theme-glow);
        }
    }
}
#burger-toggle:checked ~ .burger-trigger {
    z-index: 1000;
}
#burger-toggle:checked ~ .burger-overlay {
    visibility: visible;
    opacity: 1;
}

#burger-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    & .textbox{
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    & a{
        display: flex;
        color: light-dark(var(--theme-article-inverted), var(--theme-article));
        visibility: visible;
        margin: 1em 0;
        font-size: 44px;
        letter-spacing: 0.185em;
        text-decoration: none;
        text-shadow: none;
        transition: letter-spacing .25s ease-out, text-shadow .2s;
    
        &:hover{
            letter-spacing: 0.2em;
            text-shadow: 0 0 8px var(--theme-glow);
        }
    }
}


/*========= 主题切换按钮 ==========*/
#themeToggle {
    position: fixed;
    top: 20px;
    right: 64px;
    width: 24px;
    height: 24px;
    z-index: 100;
    cursor: pointer;
    pointer-events: all; 
    color: var(--theme-toggle);

    & svg {
        width: 32px;
        height: 32px;
        stroke: currentColor;
        filter: none;
        transition: transform 0.3s ease, filter 0.3s ease-in-out;

        &:hover {
            filter: drop-shadow(0 0 6px var(--theme-glow));
        }
    }
}
#sun {display: block;}
#moon {display: none;}


/*========= 分页导航 ==========*/
.pagination {
	position: fixed;
	right: 25px;
	top: 50%;
    width: 20px;
  	transform: translateY(-50%);
	font-size: 1em;
	z-index: 10;
	list-style: none;
    
    & a {
    	display: block;
    	height: 12px;
    	margin: 20px 0;
    	color: var(--theme-pink);
    	position: relative;
    	white-space: nowrap;
    
        & .hover-text {
            font-size: 12px;
            line-height: 100%;
        	position: absolute;
        	right: 15px;
        	top: 0;
        	opacity: 0;
        	transition: opacity 0.3s ease;
        	padding: 0 10px 0 0;
            pointer-events: none;
        }
        &:hover .hover-text {
        	opacity: 1;
            pointer-events: auto;
        }

        &::after {
        	transition:box-shadow 0.5s ease;
        	width: 10px;
        	height: 10px;
        	display: block;
            background-color: var(--bg-color);
        	border: 1px solid;
        	border-radius: 50%;
        	content: "";
        	position: absolute;
        	margin: auto;
        	top: 0;
        	right: 0;
        	bottom: 0;
        }
        &.active::after {
        	box-shadow: inset 0 0 0 5px;
        }
    }
}

/*========== 首页 ===========*/
#header{
    margin-bottom: 20px;
}
#info{
    width: 77%;
    max-width: 660px;
    
    & .table-row{
        padding: 0 8%;
        grid-template-columns: 96px auto 64px;
        grid-column-gap: 5%;
    }
}
.log-link {
    cursor: pointer;
}
.logo{
    width: 310px;
    max-width: 40vw;

    &::after{
        content: '';
        display: block;
        padding-top: 50%;
        background-image: var(--logo-url);
        background-repeat: no-repeat;
        background-position: top;
        background-size: cover;
    }
}
.nav {
	display: flex;
	list-style: none;
	padding: 0;
    margin: 18px;
	text-align: center;
    font-size: 13px;
    gap: 8px;

    & li a{
        font-size: 12px;
        border-bottom: none;
        padding: 0.3em 1.1em;
        border-radius: 10px;
        box-shadow: 0px 1px 2px rgba(0,0,0,0.035);
        color: var(--theme-pink);
        transition: color 0.3s ease, background-color 0.3s ease;
        letter-spacing: 0.4px;

        &:hover{
            background-color: var(--theme-pink);
        transition: color 0.3s ease, background-color 0.3s ease;
            color: var(--theme-article-inverted);
            text-decoration: none;
        }
    }
}
.scroll {
    position: relative;
    display: inline-block;
    margin-top: 30px;
    letter-spacing: 0.5px;
    height: 60px;

    &:hover {text-decoration: none;}
}

.arrow {
    width: 24px;
    height: 24px;
    position: absolute;
    margin: auto;
    top: 20px;
    right: 0;
    left: 0;
    border-right: 1.25px solid var(--theme-pink);
    border-bottom: 1.25px solid var(--theme-pink);
    transform: rotate(45deg); 
    -webkit-animation: none;
    animation: none;

    &.active {
        animation: 3s anime infinite ease-in-out; !important;
        -webkit-animation: 3s anime infinite ease-in-out; !important;
    }
}
@keyframes anime {
    0%, 100% { 
        transform: translateY(0) rotate(45deg); 
    }
    50% { 
        transform: translateY(0.6em) rotate(45deg);
    }
}

#chibi img{
    width: 100%;
    max-width: 340px;
    margin-bottom: 20px;
    pointer-events: none;
}

/*========== 模态弹窗 ===========*/
.modal {
    display: none;
    position: fixed;
	justify-content: center;
	align-items: center;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100vw; 
    height: 100vh;
    overflow: hidden;

    &.active{
        display: flex !important;
    }
}
.modal-mask{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: light-dark(rgba(8,4,10,0.2),rgba(0,0,0,0.4));
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}
.modal-content {
    background-color: var(--border-bg-color);
    padding: 30px 60px;
    width: 55%;
    max-width: 660px;
    max-height: 80%;
    border-radius: 12px;
    box-shadow: 0 0 14px 1px rgba(0,0,0,0.1);
    z-index: 1;
}
#sitelog{
    margin: 40px 0;
    max-height: 170px;
    display: grid;

    overscroll-behavior-y: contain;
    overflow-x: hidden;
    overflow-y: scroll;
    &::-webkit-scrollbar-track {
        border-radius: 6px;
        background: light-dark(#F8F6FA, var(--bg-color));
    }
    &::-webkit-scrollbar-thumb {
        background: light-dark(var(--theme-lite-pink), var(--theme-border));
    }
    &::-webkit-scrollbar-thumb:hover{
        background: light-dark(var(--theme-pink), var(--border-bg-color));
    }

    & .table-row{
        margin: 5px 5%;
        grid-template-columns: 110px auto;
        grid-column-gap: 0;
    }
}
.close-modal {
    color: var(--theme-lite-pink);
    float: right;
    font-size: 30px;
    font-weight: bold;

    &:hover {
        color: var(--theme-pink);
        text-decoration: none;
        cursor: pointer;
    }
}


/*========== 分页段落 ===========*/
.box{
	justify-content: center;
	align-items: center;
    display:flex;
    flex-flow: column;
    unicode-bidi: isolate;
}
.container {
	display: flex;
	align-items: flex-end;
	margin: 0 auto 0 auto;
}
.box2{
    width: 100%;
}
.ttl{
	font-size: 20px;
    text-align: center;
    margin: 0;
}
.outttl{
    width: 80%;
    max-width: 700px;
    margin: 60px 0 30px 0;
}
.outttl2{
    width: 80%;
    max-width: 700px;
    margin: 15px 0;
}
.textbox{
    text-align: center;
    width: 80%;
    max-width: 700px;
    margin: 6px 0;
    overflow: hidden;
    padding: 14px 20px;
    border-radius: 25px;

    & small {display: inline-grid;}
    & a {display: inline-grid; padding: 0;}
}
.tablebox{
    width: 80vw;
    max-width: 580px;
    padding: 36px 60px;
    margin-left: auto;
    margin-right: auto;
}
.table-row {
    display: grid;
    grid-template-columns: 50% 34% auto;
    text-align: left;
    align-items: center;
    margin: 4px auto;
    border-radius: 10px;
}


/*========= UST配布 ==========*/
#ust-top{
    padding-top: 60px;
    scroll-behavior: smooth;
}
#usts-h3{display: none;}
#ustlist{
    display: none;
    letter-spacing: -0.5px;
}
#ustlist-head { margin: 10px 0;}
.terms li{
    position: relative;
    padding-left: 16px;
    line-height: 2em;
    margin: 8px 0;
    list-style: none;

    &::before {
        content: "";
        position: absolute;
        left: 0;
        top: 1em;
        width: 6px;
        height: 6px;
        background-color: var(--theme-pink);
        border-radius: 50%;
        transform: translateY(-50%);
    }
}
details .terms{margin-top: 16px;}

.load_title {
  width: 100%;
  height: 12px;
  position: relative;
  border-radius: 5px;
  margin: 20px 0;
  background-color: var(--theme-gray);
}
.load_title_short { width: 40%;}

.ust-dl{
    & span {padding: 0;}
    &:hover{
        background-color: var(--theme-pink);
        color: var(--theme-article-inverted);
        transition: color 0.2s ease, background-color 0.2s ease;

        & span{
            color: var(--theme-article-inverted);
            transition: color 0.2s ease;
        }
    }
    & .ytb_icon {
        width: 18px;
        height: 23px;
        margin-left: 3.5px;
        background: url('data:image/svg+xml,<svg viewBox="0 -100 256 280" xmlns="http://www.w3.org/2000/svg"><path d="M250.346 28.075A32.18 32.18 0 0 0 227.69 5.418C207.824 0 127.87 0 127.87 0S47.912.164 28.046 5.582A32.18 32.18 0 0 0 5.39 28.24c-6.009 35.298-8.34 89.084.165 122.97a32.18 32.18 0 0 0 22.656 22.657c19.866 5.418 99.822 5.418 99.822 5.418s79.955 0 99.82-5.418a32.18 32.18 0 0 0 22.657-22.657c6.338-35.348 8.291-89.1-.164-123.134Z" fill="red"/><path d="m102.421 128.06 66.328-38.418-66.328-38.418z" fill="white"/></svg>') no-repeat center center;
    }
    & .dl_icon{
        width: 18px;
        margin-left: 4px;
        & svg {vertical-align: middle;}
    }
    & .nc_icon{
        width: 28px;
        height: 23px;
        background-image: var(--nico-icon);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: -1.8px 1px;
    }
    & .b_icon{
        width: 22px;
        height: 23px;
        margin-left: 3px;
        background: url('data:image/svg+xml,<svg viewBox="0 -4.5 22 22" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid"><path d="M3.73252 2.67094C3.33229 2.28484 3.33229 1.64373 3.73252 1.25764C4.11291 0.890684 4.71552 0.890684 5.09591 1.25764L7.21723 3.30403C7.27749 3.36218 7.32869 3.4261 7.37081 3.49407H10.5789C10.6211 3.4261 10.6723 3.36218 10.7325 3.30403L12.8538 1.25764C13.2342 0.890684 13.8368 0.890684 14.2172 1.25764C14.6175 1.64373 14.6175 2.28484 14.2172 2.67094L13.364 3.49407H14C16.2091 3.49407 18 5.28493 18 7.49407V12.9996C18 15.2087 16.2091 16.9996 14 16.9996H4C1.79086 16.9996 0 15.2087 0 12.9996V7.49406C0 5.28492 1.79086 3.49407 4 3.49407H4.58579L3.73252 2.67094ZM4 5.42343C2.89543 5.42343 2 6.31886 2 7.42343V13.0702C2 14.1748 2.89543 15.0702 4 15.0702H14C15.1046 15.0702 16 14.1748 16 13.0702V7.42343C16 6.31886 15.1046 5.42343 14 5.42343H4ZM5 9.31747C5 8.76519 5.44772 8.31747 6 8.31747C6.55228 8.31747 7 8.76519 7 9.31747V10.2115C7 10.7638 6.55228 11.2115 6 11.2115C5.44772 11.2115 5 10.7638 5 10.2115V9.31747ZM12 8.31747C11.4477 8.31747 11 8.76519 11 9.31747V10.2115C11 10.7638 11.4477 11.2115 12 11.2115C12.5523 11.2115 13 10.7638 13 10.2115V9.31747C13 8.76519 12.5523 8.31747 12 8.31747Z" fill="%2340C5F1"/></svg>') no-repeat center center;
    }
}
.table-cell {
    vertical-align: middle;
    text-align: left;
    margin: 0 0 0 24px;
}
.honke-icon{
    opacity: var(--img-opacity);
    & a {margin-right: 10px;}
}


/*============== 角色介绍 ===============*/
#chara-overview{
    padding-top: 60px;
}
#chara-icon{
    height: 80px;
    padding: 0;
    margin: 10px 10px;
}
.charatab-pics{
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 2px;
    border: 3px solid var(--bg-color);
    outline: 2px solid var(--bg-color);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 64px;
    vertical-align: text-top;
    transition: .4s ease;
    cursor: pointer;

    &:hover {transition: .25s;}

    &:nth-child(1){
        background-image: url("/pic/Card-Sumika.webp");
        &:hover, &.active{outline: 2px solid #A080FF;}
    }
    &:nth-child(2){
        background-image: url("/pic/Card-Mitsuki.webp");
        &:hover, &.active{outline: 2px solid #5EF2F2;}
    }
    &:nth-child(3){
        background-image: url("/pic/Card-Narii.webp");
        &:hover, &.active{outline: 2px solid #FF96E0;}
    }
    &:nth-child(4){
        background-image: url("/pic/Card-Suzuna.webp");
        &:hover, &.active{outline: 2px solid #FFE544;}
    }
    &:nth-child(5){
        background-image: url("/pic/Card-Tomaru.webp");
        &:hover, &.active{outline: 2px solid #E04440;}
    }
}
.charatab{
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: opacity .5s ease, height .1s ease .6s;

    &.active { height: auto; opacity: 1;}
    &.sub {
        height: auto;
        opacity: 1;
        margin: 20px 0;
        & .illust-container{
            width: 40%;
            max-height: 250px;
        }
        & .chara-name{
            margin: 20px 0 30px 0;
        }
    }
}
.illust-text { width: 100%; display: inline-flex;}
.illust-container{
    position: relative;
    display: inline-flex;
    content: " ";
    width: 55%;
    height: 100vw;
    max-height: 720px;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: var(--img-opacity);
}
#i1{ background-image: url("/pic/illust-Sumika.webp");}
#i2{ background-image: url("/pic/illust-Mitsuki.webp");}
#i3{ background-image: url("/pic/illust-Narii.webp");}
#i4{ background-image: url("/pic/illust-Suzuna.webp"); max-height: 750px;}
#i5{ background-image: url("/pic/illust-Tomaru.webp"); max-height: 650px;}

.illust-disc{
    width: 45%;
    margin: 0 0 0 3%;
    & p {margin: 30px 0;}
}
.chara-name{
    margin: 70px 0 30px 0;
    & big { font-size: 20px;}
}
#minor-character{
    padding-top: 60px;
    & .illust-container{
        width: 180px;
        height: 180px;
        margin-right: 10px;
    }
    & .chara-name{margin: 8px 0 12px 0;}
    .illust-disc{
        width: auto;
        margin: 0 0 0 3%;
        & p {margin: 14px 0;}
    }
}
#m1{ background-image: url("/pic/icon-Seira.webp");}
#m2{ background-image: url("/pic/icon-Euca.webp");}

#chara-terms li { margin: 4px 0;}
.lang-switcher {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 8px;
    color: var(--theme-pink);
    cursor: pointer;
    transition: background-color .25s ease, color .25s ease;

    &:hover{
        background-color: light-dark(var(--theme-pink), var(--theme-border));;
        color: #FFF
    }
}
.lang-icon {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    vertical-align: middle;
}
.lang-code {display: inline-block;}
.useterms {
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: opacity .5s ease, height .1s ease .6s;

    &.active { height: auto; opacity: 1;}
    &#zh-CN { font-family: var(--font-family-cn);}
}
#chara-about small, #usts-h3 small{
    display: block;
    text-align: left;
    font-style: italic;
    margin-right: 6px;
}
.utau-vb, .charamemo{
    display: none;
    overflow: hidden;
    transition: opacity .5s ease, height .1s ease .6s;
    &.active { display: block;}
}
.vb-samp {
    display: flex;
    margin-top: 40px;
    margin-bottom: 30px;
    & .vb-disc{
        width: 53%;
        min-width: 260px;
    }
    & audio{
        width: 256px;
        max-width: 99%;
        height: 48px;
        border-radius: 24px;
        &::-webkit-media-controls-panel {
            background-color: var(--border-bg-color2);
        }
        &::-webkit-media-controls-current-time-display,
        &::-webkit-media-controls-time-remaining-display{
            font-size: 11px;
        }
    }
}
.vb-video {
    display: grid;
    grid-template-columns: 48% 48%;
    gap: 4%;
    margin-bottom: 20px;
}
.bili-card {
    gap: 12px;
    padding: 14px 12px;
    background: var(--border-bg-color2);
    border-radius: 12px;
    & iframe {width: 100%; height: 100%;}
}
.card-cover {
    flex: 0 0 100%;
    overflow: hidden;
}
.card-info {
    flex: 1;
    padding: 2px 5px ;
    letter-spacing: 0;
}
.bili-title {
    display: flex;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    overflow: hidden;
    color: var(--theme-article);
    transition: color 0.3s ease;
    &:hover{ 
        text-decoration: none;
        color: var(--theme-pink);
    }
}
.author {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #666;
}
.icon-user{
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url('data:image/svg+xml,<svg viewBox="0 1 18 18" xmlns="http://www.w3.org/2000/svg" fill="%23666"><path d="M4.612500000000001 6.186037499999999C4.92315 6.186037499999999 5.175000000000001 6.437872500000001 5.175000000000001 6.748537499999999L5.175000000000001 9.580575C5.175000000000001 10.191075000000001 5.66991 10.686 6.280425000000001 10.686C6.8909325 10.686 7.38585 10.191075000000001 7.38585 9.580575L7.38585 6.748537499999999C7.38585 6.437872500000001 7.637700000000001 6.186037499999999 7.94835 6.186037499999999C8.259 6.186037499999999 8.51085 6.437872500000001 8.51085 6.748537499999999L8.51085 9.580575C8.51085 10.8124125 7.512262499999999 11.811 6.280425000000001 11.811C5.048595000000001 11.811 4.050000000000001 10.8124125 4.050000000000001 9.580575L4.050000000000001 6.748537499999999C4.050000000000001 6.437872500000001 4.3018350000000005 6.186037499999999 4.612500000000001 6.186037499999999z"></path><path d="M9.48915 6.748537499999999C9.48915 6.437872500000001 9.7409625 6.186037499999999 10.05165 6.186037499999999L11.79375 6.186037499999999C12.984637500000002 6.186037499999999 13.950000000000001 7.151415 13.950000000000001 8.34225C13.950000000000001 9.5331375 12.984637500000002 10.4985 11.79375 10.4985L10.61415 10.4985L10.61415 11.2485C10.61415 11.55915 10.3623 11.811 10.05165 11.811C9.7409625 11.811 9.48915 11.55915 9.48915 11.2485L9.48915 6.748537499999999zM10.61415 9.3735L11.79375 9.3735C12.3633 9.3735 12.825000000000001 8.9118 12.825000000000001 8.34225C12.825000000000001 7.7727375 12.3633 7.31103 11.79375 7.31103L10.61415 7.31103L10.61415 9.3735z"></path><path d="M9 3.7485375000000003C7.111335 3.7485375000000003 5.46225 3.84462 4.2981675 3.939015C3.4891575 4.0046175 2.8620825 4.6226400000000005 2.79 5.424405C2.7045525 6.37485 2.625 7.6282499999999995 2.625 8.9985C2.625 10.368825000000001 2.7045525 11.622225 2.79 12.5726625C2.8620825 13.374412500000002 3.4891575 13.992450000000002 4.2981675 14.058074999999999C5.46225 14.152425000000001 7.111335 14.2485 9 14.2485C10.888874999999999 14.2485 12.538050000000002 14.152425000000001 13.702200000000001 14.058037500000001C14.511074999999998 13.9924125 15.138000000000002 13.3746 15.210075 12.573037500000002C15.295499999999999 11.622975 15.375 10.3698375 15.375 8.9985C15.375 7.627237500000001 15.295499999999999 6.3740775 15.210075 5.4240375C15.138000000000002 4.622475 14.511074999999998 4.00464 13.702200000000001 3.9390374999999995C12.538050000000002 3.844635 10.888874999999999 3.7485375000000003 9 3.7485375000000003zM4.2072375 2.8176975C5.39424 2.7214425 7.074434999999999 2.6235375000000003 9 2.6235375000000003C10.925775 2.6235375000000003 12.606075 2.7214575 13.793099999999999 2.81772C15.141074999999999 2.92704 16.208849999999998 3.9695849999999995 16.330575 5.323297500000001C16.418174999999998 6.297675 16.5 7.585537500000001 16.5 8.9985C16.5 10.4115375 16.418174999999998 11.6994 16.330575 12.6738C16.208849999999998 14.027474999999999 15.141074999999999 15.0700125 13.793099999999999 15.1793625C12.606075 15.275625 10.925775 15.3735 9 15.3735C7.074434999999999 15.3735 5.39424 15.275625 4.2072375 15.179400000000001C2.859045 15.070049999999998 1.7912325 14.027212500000001 1.6695225000000002 12.673425C1.5818849999999998 11.69865 1.5 10.4106 1.5 8.9985C1.5 7.586475 1.5818849999999998 6.2984025 1.6695225000000002 5.3236725C1.7912325 3.96984 2.859045 2.9270175000000003 4.2072375 2.8176975z"></path></svg>') no-repeat center center;
}

/*========= 卡片 ==========*/
.cardbox {
    width: 880px;
    margin-top: 15px;
    max-width: 100%;
    text-align: center; /*使卡片相对盒子居中*/
    border: none;
}
.card{
    position: relative;
    width: 325px;
    max-width: 20%;
    height: 148px;
    margin: 8px;
    padding-left: 154px;
    display: inline-flex;
    vertical-align: text-top;
    border-radius: 8px;
    color: var(--theme-article);
    text-decoration: none;
    transform: translateY(0);
    transition: transform 0.7s cubic-bezier(0.19,1,0.22,1);

    &:hover{
        text-decoration: none;
        box-shadow: 1px 3px 5px rgba(0,0,0,0.08);
        transform: translateY(-8px);
        transition: box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.19,1,0.22,1);
    }
    /* 头像 */
    &::after{
        position: absolute;
        content: " ";
        width: 136px;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 9999;
        border-radius: 8px;
        background-color: var(--border-bg-color);
        background-size: cover;
        opacity: var(--img-opacity);
    }
    &:nth-child(1)::after{ background-image: url("/pic/Card-Sumika.webp");}
    &:nth-child(2)::after{ background-image: url("/pic/Card-Mitsuki.webp");}
    &:nth-child(3)::after{ background-image: url("/pic/Card-Narii.webp");}
    &:nth-child(4)::after{ background-image: url("/pic/Card-Suzuna.webp");}
    &:nth-child(5)::after{ background-image: url("/pic/Card-Tomaru.webp");}
    &:nth-child(6)::after{ background-image: url("/pic/Card-Minor.webp");}

    & .card-text{
        overflow: hidden;
        margin: auto 18px auto 0;
        text-decoration: none;
    }
    & .chara-name{
        font-weight: 700;
        font-size: 18px;
        letter-spacing: -0.5px;
        margin: 4px 0 0 0;
    	padding: 0;
    }
    & .chara-desc{
        font-size: 12px;
        margin: 12px 0 0 16px;
    	padding: 0;
    }
}


/*============== SNS图标 ===============*/
.icon-container{
    height: 50px;
    margin: 10px 0;
    opacity: var(--img-opacity);

    & a{
        width: 56px;
        height: 56px;
        border-radius: 28px;
        display: inline-flex;
    	justify-content: center;
    	align-items: center;
        vertical-align: text-top;
        padding: 0;
        margin: 0 4px;
        transition: color 0.3s ease, background-color 0.3s ease;
    
        &:hover {
            background-color: var(--theme-pink);
            transition: color 0.3s ease, background-color 0.3s ease;
        }
        & svg { display: block;}

    }
    & #Bilibili{
        color: #40C5F1;
        &:hover{ color: var(--theme-article-inverted);}
    }
    & #Niconico img{
        width: 45px;
        padding: 6px;
        border-radius: 28px;
        transition: filter 0.35s ease;
        filter: invert(85.54%);
    
        &:hover {filter: none;}
    }
    & #Twitter{
        color: #55acee;
        &:hover{ color: var(--theme-article-inverted);}
    }
    & #Email{
        color: #F06690;
        &:hover{ color: var(--theme-article-inverted);}
    }
    & #Wavebox img{ width: 50px;}
}
#profile span{padding: 0;}

/*============== 录音表 ===============*/
#list-ja-8mora-vcv{
    padding-top: 60px;
}
.page-card{
    position: relative;
    display: flex;
    align-items: center;
    width: 532px;
    height: 148px;
    margin: 8px;
    padding-left: 154px;
    display: inline-flex;
    vertical-align: text-top;
    border-radius: 8px;
    color: var(--theme-article);
    text-decoration: none;
    transform: translateY(0);
    transition: transform 0.7s cubic-bezier(0.19,1,0.22,1);

    &:hover{
        text-decoration: none;
        box-shadow: 1px 3px 5px rgba(0,0,0,0.08);
        transition: box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.19,1,0.22,1);
        transform: translate(-10px,0);
    }
    /* 头像 */
    &::after{
        position: absolute;
        content: " ";
        width: 136px;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 9999;
        border-radius: 8px;
        background-color: var(--border-bg-color);
        background-size: cover;
        opacity: var(--img-opacity);
    }
    &::after{
        background-color: light-dark(#EAEAF0, #3A3C48);
        background-repeat: no-repeat;
        background-position: center;
    }
    &:nth-child(1)::after{ 
        background-image: url('data:image/svg+xml,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="color: rgb(180, 182, 190); width: 36px; height: 36px;"><path d="M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z"></path><path d="M19 10v2a7 7 0 0 1-14 0v-2"></path><line x1="12" y1="19" x2="12" y2="23"></line><line x1="8" y1="23" x2="16" y2="23"></line></svg>');
        background-size: 64% 64%;
    }

    & .page-name{
        display: flex;
        font-weight: 700;
        font-size: 18px;
        letter-spacing: -0.5px;
        margin-left: 6px;
    	padding: 0;
    }
}

/*============== 响应式 ===============*/
@media screen and (max-width:768px) { 
	.pagination a .hover-text{ display: none;}
    h2, h3 { font-size: 20px;}
    .outttl{ margin: 50px 0 20px 0;}
	body, span, p, a { font-size:11px;}
    span { padding: 0 1.5px;}
    small { font-size: 9.5px;}
    p ruby > rt { font-size: 65%; margin-bottom: auto;}
    summary { font-size: 14px; letter-spacing: 0.25px;}
    .textindent{ padding-left: 14px !important;}
    #info {
        width: 70vw;
        & .table-row{
            letter-spacing: 0.5px;
            padding: 0 1% 0 5%;
            grid-template-columns: 78px auto 42px;
            grid-column-gap: 0;
        }
    }
    #sitelog{
        margin: 32px 0;

        & h3 { margin: 20px 0;}
        & .table-row {
            letter-spacing: 0.5px;
            margin: 4px 0 4px calc(8% - 20px);
            grid-template-columns: 78px auto;
        }
    }
    .logo { width: 280px;}
    .nav{
        gap: 4px;
        & li a{ font-size: 10px;}
    }
    #burger-wrapper a { font-size: 28px;}
    #burger-toggle:not(:checked) ~ .burger-trigger { transform: scale(0.85);}
    .textbox { width: 75%;}
    .tablebox{
        width: 62.75vw;
        min-width: 270px;
        padding: 36px 9vw 36px 9vw;
        & p{
            font-size: 10.5px;
        }
    }
    #ustlist, #ust-terms {width: 68vw; padding: 36px 30px;}
    .terms li big { font-size: 14px;}
    .table-cell{ margin-left: 2%;}
    .modal-content{
        padding: 20px 36px 20px 40px;
        width: 64%;
    }
    .icon-container{
        transform: scale(0.94);
        & a{ margin: 0 2px;}
    }
    .cardbox { width: 500px; margin-top: 0;}
    .card{
        width: 190px;
        max-width: 43vw;
        height: 96px;
        margin: 6px 10px;
        padding-left: 126px;
        &:hover{transform: translate(-10px,0);}
        & .chara-name {font-size: 16px;}
        & .chara-desc {font-size: 10.5px;margin: 10px 0 0 18px;}
        &::after {width: 100px; height: 100%;}
    }
    #chara-icon { height: 72px;}
    .charatab-pics{
        width: 54px;
        height: 54px;
        background-size: 54px;
        margin: 0;
    }
    .chara-name {
        margin: 40px 0 0 0;
        & big{font-size: 16px;}
    }
    .page-card{
        width: 190px;
        max-width: 45vw;
        height: 96px;
        margin: 6px 10px;
        padding-left: 118px;
        & .page-name {font-size: 16px; }
        &::after {width: 100px; height: 100%;}
    }
    .illust-container{
        width: 100%;
        background-size: 77.5%;
        background-position: top;
        height: 490px;
    }
    #i4 { height: 520px;}
    #i5 { height: 430px;}
    .illust-text { display: block;}
    .illust-disc{
        width: 100%;
        margin: 0 5% 0 0;
        & p { margin: 18px 0;}
    }
    #minor-character{
        & .illust-container{
            width: 140px;
            height: 140px;
            display: block;
            background-size: 100%;
            margin: 0 0 26px 0;
        }
    }
    .vb-video {
        grid-template-columns: 100%;
        gap: 10px;
    }
    .vb-samp {
        display: block;
        margin-top: 30px;
        margin-bottom: 0;
        & audio {margin: 20px 0 10px 0;}
    }
    .card-info {padding: 4px 2px;}
    .bili-title{font-size: 12px;}
    .author {font-size: 10.5px;}
    .icon-user {width: 14px; height: 14px;}
    #ustlist{
        & .table-row.ust-dl { margin: 1px 0;}
        & .table-cell { margin-left: 10px;}
        & .dl_icon { width: 16px;}
    }
    .scroll {font-size: 12px; margin-top: 0;}
}
@media screen and (max-width:667px) { 
    #header {margin-bottom: 8px;}
    .logo { max-width: 62vw; transform: none;}
    .nav { display: none;}
}
@media screen and (max-height:760px){
    #minor-character .blk { margin-top: 0px;}
}
@media screen and (max-height:675px){
    .blk { margin-top: 10px;}
}