.icon64 {
    width: 64px;
    height: 64px;
    aspect-ratio: auto 64 / 64;
    object-fit: none;

    &.bilibili {
        object-position: 0px 0px;
    }

    &.bluesky {
        object-position: -64px 0px;
    }

    &.forms {
        object-position: -128px 0px;
    }

    &.twitch {
        object-position: -192px 0px;
    }

    &.twitter {
        object-position: -256px 0px;
    }

    &.youtube {
        object-position: -320px 0px;
    }
}

.icon48 {
    width: 48px;
    height: 48px;
    aspect-ratio: auto 48 / 48;
    object-fit: none;

    &.uk {
        object-position: 0px 0px;
    }

    &.us {
        object-position: -48px 0px;
    }

    &.japan {
        object-position: -96px 0px;
    }

    &.china {
        object-position: -144px 0px;
    }

    &.russia {
        object-position: -192px 0px;
    }

    &.germany {
        object-position: -240px 0px;
    }

    &.spain {
        object-position: -288px 0px;
    }

    &.lang {
        object-position: -336px 0px;
    }
}

.icon24 {
    width: 24px;
    height: 24px;
    aspect-ratio: auto 24 / 24;
    object-fit: none;

    &.twitter {
        object-position: 0px 0px;
    }

    &.pixiv {
        object-position: -24px 0px;
    }

    &.tumblr {
        object-position: -48px 0px;
    }

    &.linktree {
        object-position: -72px 0px;
    }
}

.icon16 {
    width: 16px;
    height: 16px;
    aspect-ratio: auto 16 / 16;
    object-fit: none;

    &.globe {
        object-position: 0px 0px;
    }

    &.twitch {
        object-position: -16px 0px;
    }

    &.twitter {
        object-position: -32px 0px;
    }

    &.youtube {
        object-position: -48px 0px;
    }

    &.bilibili {
        object-position: -64px 0px;
    }

    &.west {
        object-position: -80px 0px;
    }

    &.china {
        object-position: -96px 0px;
    }

    &.japan {
        object-position: -112px 0px;
    }

    &.rose {
        object-position: -128px 0px;
    }

    &.heart {
        object-position: -144px 0px;
    }

    &.mind {
        object-position: -160px 0px;
    }

    &.lotus {
        object-position: -176px 0px;
    }

    &.spirit {
        object-position: -192px 0px;
    }

    &.harmony {
        object-position: -208px 0px;
    }

    &.star {
        object-position: -224px 0px;
    }

    &.luna {
        object-position: -240px 0px;
    }

    &.sunny {
        object-position: -256px 0px;
    }

    &.aya {
        object-position: -272px 0px;
    }

    &.hatate {
        object-position: -288px 0px;
    }

    &.momiji {
        object-position: -304px 0px;
    }
}html {
    overflow-y: scroll;
}
body {
	margin: 0;
    font-family: sans-serif;
    background: url('/assets/twc_bg.jpg') center no-repeat fixed;
    background-size: cover;
}
* {
	color: #fff;
	text-decoration: none;
}
button {
	background-color: #333;
}
select {
	background-color: #000;
}
main {
    margin: 0px auto 0px auto;
    background-color: rgba(34, 34, 34, 0.5);
    box-shadow: 4px 4px 4px 2px #88888830;
    -webkit-box-shadow: 4px 4px 4px 2px #88888830;
    max-width: 100%;
    min-width: 50%;
    padding: 15px;
}
h1 {
    margin-top: 64px;
}
main a {
	color: #19f;
}
header a {
    color: #fff;
}
aside {
    float: right;
    width: 20%;
}
input {
	background-color: #000;
}
table {
    border: 1px solid white;
}
td {
    border-top: 1px solid white;
    padding-left: 4px;
    padding-right: 4px;
}
.moverdowner {
	height: 0;
	background-color: #222;
}
.header {
	background-color: #222;
	box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
    position: absolute;
	width: 100%;
    z-index: 1;
}
.logo {
    width: 50%;
}
.banner {
    width: auto;
    height: 60px;
}
.header ul {
	margin: 0;
	padding: 0;
	list-style: none;
	overflow: hidden;
	background-color: #222;
}
.header ul .subpage {
	display: block;
	text-decoration: none;
}
.header ul .subpage:not(.flag_container) {
    padding-left: 20px;
    padding-right: 20px;
    line-height: 58px;
}
.header ul .subpage:hover, .menu-icon:hover, .lang-icon:hover {
	background-color: #444;
}
.header ul .subpage:active, .menu-icon:active, .lang-icon:active {
	background-color: #888;
}
.header .logo {
	float: left;
	display: block;
	font-size: 2em;
	padding-left: 20px;
}
.header .menu, .header {
	clear: both;
	max-height: 0;
	transition: max-height .1s ease-out;
}
.header .menu-icon {
	padding: 28px 20px;
	position: relative;
	float: right;
	cursor: pointer;
}
.header .lang-icon {
    padding: 7px 7px 6px 6px;
    position: relative;
    float: right;
    cursor: pointer;
}
.header .menu-icon .nav-icon, .header .lang-icon .nav-icon {
	background: #fff;
	display: block;
	height: 2px;
	width: 18px;
	position: relative;
}
.header .menu-icon .nav-icon:before {
	background: #fff;
	content: "";
	display: block;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 5px;
}
.header .menu-icon .nav-icon:after {
	background: #fff;
	content: "";
	display: block;
	height: 100%;
	width: 100%;
	position: absolute;
	bottom: 5px;
}
.header .menu-btn, .lang-btn {
	display: none;
}
.header .menu-btn:checked ~ #main_list {
	max-height: 400px;
}
.header .lang-btn:checked ~ #lang_list {
    max-height: 400px;
}
.language {
    color: white;
    width: 100%;
    height: 100%;
    display: inline-block;
}
.selected {
    background: rgba(255, 255, 0, 0.5);
}
.tooltip {
    font-weight: initial;
    visibility: hidden;
    background-color: #000;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    top: 100%;
}
.flag {
    position: relative;
}
.flag .tooltip {
    left: 0%;
    margin-left: -60px;
}
.flag:hover .tooltip {
    visibility: visible;
}
.flag_container {
    margin-top: 0px;
    margin-bottom: 0px;
}
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown_button {
    text-decoration: none;
    cursor: default;
}
.dropdown_content {
    display: none;
    position: absolute;
    border: 1px solid #000;
    min-width: 165px;
    opacity: 1.0;
    z-index: 1;
}
.dropdown_content {
    background-color: #222;
}
.dropdown_content p:not(.selected) a:hover {
    background-color: #444;
}
.dropdown_content p:not(.selected) a:active {
    background-color: #888;
}
.dropdown_content p a {
    display: inline-block;
    width: 100%;
}
.dropdown:hover .dropdown_content {
    display: block;
}
.languages {
    display: none;
}
#language_small {
    display: list-item;
}
#language_link {
    padding-left: 15px;
    padding-right: 15px;
}
@media (min-width: 1050px) {
    main {
        margin-top: 20px;
        max-width: fit-content;
    }
    h1 {
        margin-top: inherit;
    }
    .languages {
        display: block;
    }
	.header li {
		float: left;
	}
    .logo, .banner {
        width: initial;
    }
	.header .menu, .header .languages {
		clear: none;
		float: right;
		max-height: none;
	}
	.header .menu-icon, .header .lang-icon, .mobile_br {
		display: none;
	}
	.header ul .subpage {
		border-left: 1px solid #aaa;
	}
	.moverdowner {
		height: 58px;
	}
    #lang_list {
        display: none;
    }
}
h2 img {
    max-height: 1em;
}

.thumbnail-gallery {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.illustration {
    padding: 1em;
    margin-bottom: 1em;
    font-size: 1.1em
}

.illustration h4 {
    margin-top: 0;
    margin-bottom: 0;
}

.illustration .art {
    width: 100%;
    cursor: pointer;
}

.thumbnail-gallery.three-cols .illustration {
    flex: 0 0 calc(33.333% - 10px);
    box-sizing: border-box;
}

.thumbnail-gallery.two-cols .illustration {
    flex: 0 0 calc(50% - 10px);
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .thumbnail-gallery.three-cols .illustration,
    .thumbnail-gallery.two-cols .illustration {
        flex: 0 0 100%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .thumbnail-gallery.three-cols .illustration{
        flex: 0 0 calc(50% - 10px);
        box-sizing: border-box;
    }
}

.artist-info {
    display: block;
}

.artist-name {
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
}

.social-link img {
    height: 1.3em;
}

.expander {
    cursor: pointer;
    color: white;
}

.art-past {
    display: none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal img {
    max-width: 90%;
    max-height: 90%;
    cursor: pointer;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

main {
    max-width: 1050px;
}