* {
box-sizing: border-box;
}
body {
margin: 0;
height: 100vh;
display: flex;
overflow: hidden;
justify-content: center;
align-items: center;
background-color: #010102;
font-family: MS UI Gothic;
font-size:12px;
text-shadow:
-1px -1px 0 black,
0px -1px 0 black,
1px -1px 0 black,
-1px  0px 0 black,
1px  0px 0 black,
-1px  1px 0 black,
0px  1px 0 black,
1px  1px 0 black;
}    
.frame {
overflow: none;
border: 1px solid black;
display: flex;
flex-direction: column;
gap: 15px;
padding: 15px;
width: 850px;
height: 600px;
min-width: 850px;
min-height: 600px;
position:relative;
background:
url("../img/bg.png"),
linear-gradient(to right, #000, #000);  
background-size: auto 100%, 100% 100%;
background-position: right center, center;
background-repeat: no-repeat;
border: 2px double black; 
outline: 1px solid rgba(13,13,13, 1);           
outline-offset: -3px;    
}
.c a
{
text-decoration: underline dotted #666;
color: inherit;
letter-spacing:0px;
}
.c a:hover {
background: rgba(0,0,0,0.5);
}
.c a:active{
background: rgba(0,0,0,0.8);
color:#b9b9b9
}
.header {
border: 1px double #000;
height:130px;
width:530px;
z-index: 9999;
border-right: none;
background:
linear-gradient(to left, transparent, rgba(25, 25, 35, 1)),  
url(" ");  
background-size: cover;  
outline: 1px solid rgba(0,0,0, 1);           
outline-offset: -3px;    
}
.content {
position: relative; 
overflow: hidden;
padding: 15px;
flex: 1;
border: 1px solid #000;
border-right: none;
height: 110px;
width: 530px;
background:
linear-gradient(to left, transparent, rgba(22, 22, 32, 1));
outline: 1px solid rgba(0,0,0,1);           
outline-offset: -3px;
line-height: 1;
}
.header, .content {
-webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
-webkit-mask-repeat: no-repeat;
-webkit-mask-size: 100% 100%;
mask-image: linear-gradient(to right, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
mask-repeat: no-repeat;
mask-size: 100% 100%;
mask-mode: alpha; 
}
.circle1 {
animation: spin 25s linear infinite;
position:absolute;
height:400px;
right:-140px;
bottom:-140px;
image-rendering:pixelated;
}
.circle2 {
animation: spin 25s linear infinite;
position:absolute;
height:400px;
left:-140px;
pointer-events: none;
top:-140px;
}
@keyframes spin { 
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.mayura {
position:absolute;
height:650px;
right:-30px;
bottom:-3px;
z-index:99999;
pointer-events: none;
}
.circle-wrapper {
position: absolute;  
width: 600px;      
height: 600px;      
right: 0;
bottom: 0;
overflow: hidden;  
pointer-events: none;
}
.circle-wrapper2 {
position: absolute;  
width: 700px;      
height: 595px;      
left: 0;
top: 0;
overflow: hidden;  
pointer-events: none;
}
.circle1 {
position: absolute;
height: 400px;
right: -140px;
bottom: -140px;
animation: spin 25s linear infinite, glow-pulse 2.5s ease-in-out infinite;
}
.circle2 {
position: absolute;
height: 750px;
top: -140px;
left: -140px;
opacity: 0.027;  animation: spin 25s linear infinite, glow-pulse 2.5s ease-in-out infinite;
z-index:6000;
pointer-events: none;
}
@keyframes glow-pulse {
0%, 100% {
filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.15));
}
50% {
filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.25));
}
}
.nav {
position: absolute;
top: 50%;
left: 50%;
width: 300px;  
height: 300px;
transform: translate(-50%, -50%);
z-index: 99999;
font-style: italic;
pointer-events:none;
font-family:Times;
}
.nav a {
pointer-events: auto;
position: absolute;
color: white;
text-decoration: none;
font-size: 17px;
transform: translate(-50%, calc(-50% + 20px));  
opacity: 0;  
animation: slideUp 0.6s ease-out forwards;
display: block;    
padding: 5px 10px;   
line-height: 1.5;  
background: transparent;  
}
.nav a:nth-child(1) { animation-delay: 0.4s; }
.nav a:nth-child(2) { animation-delay: 0.6s; }
.nav a:nth-child(3) { animation-delay: 0.8s; }
.nav a:nth-child(4) { animation-delay: 1.0s; }
.nav a:nth-child(5) { animation-delay: 1.2s; }
.nav a:nth-child(6) { animation-delay: 1.4s; }
@keyframes slideUp {
to {
transform: translate(-50%, -50%);  
opacity: 1;
}
}
.nav a:hover {
color: #fff;
text-shadow:
-1px -1px 0 black,
0px -1px 0 black,
1px -1px 0 black,
-1px  0px 0 black,
1px  0px 0 black,
-1px  1px 0 black,
0px  1px 0 black,
1px  1px 0 black,
0 0 5px #ff0000, 0 6px 20px black;
}
.nav a.active {
transform: translate(-50%, calc(-50% - 2px));
color: #fff;
text-shadow:
-1px -1px 0 black,
0px -1px 0 black,
1px -1px 0 black,
-1px  0px 0 black,
1px  0px 0 black,
-1px  1px 0 black,
0px  1px 0 black,
1px  1px 0 black,
0 0 5px #ff0000, 0 6px 20px black;
}
.nav a::before {
content: "";
margin-right: 5px;
transform: scaleX(-1);
}
.nav a {
transition: margin-top 100ms ease;  
}
.nav a:active {
margin-top: 2px;  
color:#ebebeb;
}
.about {
top: 124px;
left: 188px;
}
.characters {
top: 170px;
left: 186px;
}
.interests {
top: 216px;
left: 186px;
}
.quizzes {
top: 262px;
left: 196px;
}
.network {
top: 306px;
left: 224px;
}
.home {
top: 344px;
left: 280px;
} 
.tab.fading-in {
display: block;
opacity: 1;
}
.tab.fading-out {
display: block;
opacity: 0;
}
.tab {
position: absolute;
inset: 0;                
opacity: 0;
visibility: hidden;    
pointer-events: none;    
transition: opacity 320ms ease;
display: block;        
padding: 15px;
box-sizing: border-box;
}
.tab p {
width: 370px;     
overflow-y: hidden;  
overflow-x:auto;
margin: 0;   
box-sizing: border-box; 
color: #d1d1d1;
}
.tab.active {
opacity: 1;
visibility: visible;
pointer-events: auto;
}
.ptitle {
font-size:15px;
line-height:22px;
color: white;
font-style:italic;
font-family:Times;
}
.pheader {
font-size:21px;
font-style:italic;
color:white;
font-family:Times;
}
.chara {
width: 400px;
z-index: 7000; 
}
.chara img {
width: 60px;
height: 60px;
margin: 5px;
border: 1px solid black;
object-fit: cover;
transition: transform 0.2s ease, opacity 0.2s ease;
z-index: 7000; 
filter: grayscale(95%) brightness(60%) contrast(120%)  sepia(100%) hue-rotate(180deg) saturate(130%); 
}
.chara img:hover {
transform: scale(1.3);
filter: grayscale(0%) brightness(100%) contrast(100%); 
opacity: 1; 
z-index: 1;
}
.chara {
gap:4px;
}
.chara-item {
position: relative;
display: inline-block;
}
.chara-item img {
width: 60px;  
height: 60px;
border: 1px solid #000;
} 
.chara-item .tooltip {
position: absolute;
bottom: 100%; 
left: 50%;
transform: translateX(-50%);
margin-bottom: 14px;
background: linear-gradient(to bottom, #0a0a0a, #000);
color: white;
font-size: 12px;
font-family: "MS UI Gothic";
padding: 6px 8px;
text-align: center;
width:86px;
border: 1px solid black;
outline: 1px solid rgba(0, 0, 0, 1);
outline-offset: -3px;
text-shadow:
-1px -1px 0 black,
0px -1px 0 black,
1px -1px 0 black,
-1px  0px 0 black,
1px  0px 0 black,
-1px  1px 0 black,
0px  1px 0 black,
1px  1px 0 black;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease;
z-index: 99999; 
pointer-events: none;
}
.chara-item:hover .tooltip {
opacity: 1;
visibility: visible;
}
.chara-item .tooltip::after {
content: "";
position: absolute;
top: 100%; 
left: 50%;
transform: translateX(-50%);
border-width: 6px;
border-style: solid;
border-color: #000 transparent transparent transparent;
}
.tab .ptitle,
.tab .pheader {
color: white;
}
.buttons {
width:380px;
height:119px;
overflow:auto;
padding:4px;
-ms-overflow-style: none;  
scrollbar-width: none;
background-color: rgba(0,0,0,0.6);
border: 1px solid black;
overflow-x: hidden;
overflow-y: auto;
position: absolute;  
bottom:15px;
z-index:99999;
padding-bottom:2px;
display: grid;
grid-template-columns: repeat(auto-fill, 88px);
gap: 6px;
}
.buttons img {
image-rendering:pixelated;
width: 88px;
height: 31px;
filter: grayscale(95%) brightness(100%) contrast(90%) sepia(100%) hue-rotate(180deg) saturate(100%);
}
.buttons img:hover {
filter: grayscale(0%) brightness(100%) contrast(100%)  sepia(0%); 
}
.buttons img:active {
top: 1px; 
}
.icon {
height:130px; 
image-rendering:pixelated;
pointer-events: none;
background-color: rgba(0,0,0,0.5);
border-right: 1px solid black;
}
.minitext {
font-size:12px;
font-style: normal;
color:grey;
font-family:MS UI Gothic;
}
.textbox {
height:86px;
width: 372px;
background-color: rgba(0,0,0,0.6);
overflow-x: hidden;
overflow-y: auto;
border: 1px solid black;
padding: 8px;
-ms-overflow-style: none;  
scrollbar-width: none; 
bottom:15px;  
position:absolute;
display: flex;
flex-direction: column;
gap: 4px; 
color:white;
}
.qbox {
height:355px;
width: 372px;
background-color: rgba(0,0,0,0.6);
overflow-x: hidden;
overflow-y: auto;
border: 1px solid black;
padding: 8px;
-ms-overflow-style: none;  
scrollbar-width: none; 
bottom:15px;  position:absolute;
display: flex;
flex-direction: column;
gap: 4px; 
color:white;
}
.row {
display: flex;
align-items: flex-start; 
gap: 5px;  
}
.row .w {
font-size: 13px;
font-style: italic;
text-align: left;
white-space: nowrap;  
font-family:Times;
}
.row .c {
font-size: 12px;
padding-left: 8px;
padding-top:2px;
border-left: 1px dotted #333;
flex: 1;  
color: #999;
}
.row a {
text-decoration: underline dotted #666;  
}
.hiddentext {
text-decoration: underline dotted #666;  
}
.webmaster {
position:absolute;left:157px;top:-30px;font-size:52px;font-family:Times;
text-shadow: -2px -2px 0 black,
0px -2px 0 black,
2px -2px 0 black,
-2px  0px 0 black,
2px  0px 0 black,
-2px  2px 0 black,
0px  2px 0 black,
2px  2px 0 black,
0 0 5px black;   
}
.outlink {
font-family: MS UI Gothic;
line-height:1.2;
text-shadow:
-1px -1px 0 black,
0px -1px 0 black,
1px -1px 0 black,
-1px  0px 0 black,
1px  0px 0 black,
-1px  1px 0 black,
0px  1px 0 black,
1px  1px 0 black;
text-decoration: underline dotted #999
}
.meow {
position:absolute;left:163px;top:73px;color: #777;
}
.music {
position: absolute;
left: 157px;
top: 94px;
color: white;
height: 28px;
width: 313px;
padding: 5px;
background: rgba(0,0,0,0.7);
border: 1px solid black;
line-height: 1;
-webkit-mask-image: linear-gradient(to right, black 60%, transparent 100%);
-webkit-mask-repeat: no-repeat;
-webkit-mask-size: 100% 100%;
mask-image: linear-gradient(to right, black 60%, transparent 100%);
mask-repeat: no-repeat;
mask-size: 100% 100%;
}
.play {
font-size:15px 
}
.quiz img {
width:350px;
filter: grayscale(100%) brightness(80%) contrast(130%); 
border:1px solid black;
margin-bottom:5px;
}
.quiz img:hover{
opacity: 1;
filter: grayscale(0%) brightness(100%) contrast(100%);
}
.quiz {
overflow-y: auto;
max-height: 355px; 
max-width:395px;
scrollbar-width: none;    
-ms-overflow-style: none;  
}
.quiz::-webkit-scrollbar {  
display: none;
}
dt {
color: #d1d1d1;
line-height: 14.5px;
}
dd {
padding-left:10px;
border-left:1px dotted #333;
margin-left:10px;
line-height: 14.5px;
color: #a3a3a3;
}
dd a:hover {
background: rgba(0,0,0,0.5);
}
dd a:active{
background: rgba(0,0,0,0.8);
color:#b9b9b9
}