:root { 
    --h: 4rem; 
    --navH: 2.5rem; 
    --footerH: 2.25rem; 
    --mainH: calc(100vh - var(--h) - var(--navH) - var(--footerH)); 
    
    --bg-base: #333842; 
    --bg-module: #4c535e; 
    --bg-content: #ffffff; 
    --bg-accent-blue: #a2c4e8; 
    --blue-title-v2: #0a1c36; 
    --text-main: #ffffff; 
    
    --border-light: #7d8594; 
    --border-dark: #1e2126; 
    --border-mid: #606875; 
    
    --rounding: 0px; 
} 

body { 
    font-family: 'Tahoma', 'Verdana', 'Arial', sans-serif; 
    color: var(--text-main); 
    font-size: 14px; 
    background-color: var(--bg-base); 
    margin: 0; 
    padding: 0; 
    min-height: 100vh; 
    overflow-x: hidden; 
} 

#header { 
    width: 100%; 
    height: var(--h); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 0; 
    margin: 0; 
    background-color: var(--bg-module); 
    border-top: 2px solid var(--border-light); 
    border-left: 2px solid var(--border-light); 
    border-right: 2px solid var(--border-dark); 
    border-bottom: 2px solid var(--border-dark); 
    border-radius: var(--rounding); 
    box-sizing: border-box; 
} 

#header img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    border-radius: var(--rounding); 
} 

#nav { 
    width: 100%; 
    height: var(--navH); 
    display: flex; 
    align-items: center; 
    justify-content: flex-start; 
    overflow: hidden; 
    padding: 0.5rem; 
    box-sizing: border-box; 
    background-color: var(--bg-base); 
} 

#nav a, 
#nav label { 
    padding: 0.5rem 1rem; 
    cursor: pointer; 
    height: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-right: 8px; 
    text-decoration: none; 
    border-radius: var(--rounding); 
    background: var(--bg-module); 
    color: var(--text-main); 
    transition: background 0.1s; 
    border-top: 1px solid var(--border-dark); 
    border-left: 1px solid var(--border-dark); 
    border-right: 1px solid var(--border-light); 
    border-bottom: 1px solid var(--border-light); 
} 

#nav a:hover, 
#nav label:hover { 
    background: var(--bg-accent-blue); 
    color: #000; 
    border: 1px solid var(--border-dark); 
} 

#nav a:active, 
#nav label:active { 
    background: var(--bg-accent-blue); 
    color: #000; 
    border-top: 1px solid var(--border-light); 
    border-left: 1px solid var(--border-light); 
    border-right: 1px solid var(--border-dark); 
    border-bottom: 1px solid var(--border-dark); 
} 

#main { 
    display: flex; 
    flex-direction: row; 
    width: 100%; 
    height: var(--mainH); 
    padding: 0.5rem; 
    box-sizing: border-box; 
    background-color: var(--bg-base); 
} 

#sidebar { 
    display: flex; 
    flex-direction: column; 
    width: 16rem; 
    height: 100%; 
    overflow: hidden; 
} 

#profile-box { 
    width: 100%; 
    background-color: var(--bg-module); 
    border-radius: var(--rounding); 
    border-top: 2px solid var(--border-light); 
    border-left: 2px solid var(--border-light); 
    border-right: 2px solid var(--border-dark); 
    border-bottom: 2px solid var(--border-dark); 
    padding: 0.75rem; 
    flex-shrink: 0; 
    margin-bottom: 0.75rem; 
    box-sizing: border-box; 
} 

#profile-top { 
    display: flex; 
    gap: 0.5rem; 
    margin-bottom: 0.5rem; 
} 

#avatar { 
    width: 50%; 
    flex-shrink: 0; 
} 

#avatar img { 
    width: 100%; 
    height: auto; 
    aspect-ratio: 1; 
    object-fit: cover; 
    border: 1px solid #4a5568; 
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3); 
    border-radius: var(--rounding); 
} 

#status { 
    width: 50%; 
    flex-shrink: 0; 
    font-size: 0.65rem; 
    display: flex; 
    flex-direction: column; 
    gap: 0.25rem; 
    padding: 0.5rem; 
    border: 1px solid #4a5568; 
    background-color: #374151; 
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3); 
    color: white; 
    justify-content: center; 
    border-radius: var(--rounding); 
    box-sizing: border-box; 
} 

#status p { 
    margin: 0; 
} 

#status span { 
    color: #fca5a5; 
} 

#status p:nth-child(2) span { 
    color: #fde047; 
} 

#profile-links { 
    font-size: 0.875rem; 
    display: flex; 
    flex-direction: column; 
    gap: 0.5rem; 
    font-weight: bold; 
} 

#profile-links a { 
    display: block; 
    text-align: center; 
    text-decoration: none; 
    border-radius: var(--rounding); 
    background: var(--bg-module); 
    color: var(--text-main); 
    transition: background 0.1s; 
    border-top: 1px solid var(--border-dark); 
    border-left: 1px solid var(--border-dark); 
    border-right: 1px solid var(--border-light); 
    border-bottom: 1px solid var(--border-light); 
    padding: 0.5rem; 
} 

#profile-links a:hover { 
    background: var(--bg-accent-blue); 
    color: #000; 
    border: 1px solid var(--border-dark); 
} 

#profile-links a:active { 
    background: var(--bg-accent-blue); 
    color: #000; 
    border-top: 1px solid var(--border-light); 
    border-left: 1px solid var(--border-light); 
    border-right: 1px solid var(--border-dark); 
    border-bottom: 1px solid var(--border-dark); 
} 

#badges { 
    flex-grow: 1; 
    background-color: var(--bg-module); 
    border-radius: var(--rounding); 
    border-top: 2px solid var(--border-light); 
    border-left: 2px solid var(--border-light); 
    border-right: 2px solid var(--border-dark); 
    border-bottom: 2px solid var(--border-dark); 
    padding: 0.75rem; 
    overflow-y: auto; 
} 

#badges > p { 
    font-size: 0.875rem; 
    font-weight: bold; 
    border-bottom: 1px solid #4a5568; 
    padding-bottom: 0.25rem; 
    margin-bottom: 0.5rem; 
    margin-top: 0; 
} 

#badge-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 0.5rem; 
} 

#badge-grid img { 
    border-radius: var(--rounding); 
    background: var(--bg-module); 
    transition: background 0.1s; 
    border-top: 1px solid var(--border-dark); 
    border-left: 1px solid var(--border-dark); 
    border-right: 1px solid var(--border-light); 
    border-bottom: 1px solid var(--border-light); 
    cursor: pointer; 
} 

#badge-grid img:hover { 
    background: var(--bg-accent-blue); 
    border: 1px solid var(--border-dark); 
} 

#content { 
    flex-grow: 1; 
    height: 100%; 
    margin-left: 0.75rem; 
    background-color: white; 
    border-radius: var(--rounding); 
    border-top: 2px solid var(--border-light); 
    border-left: 2px solid var(--border-light); 
    border-right: 2px solid var(--border-dark); 
    border-bottom: 2px solid var(--border-dark); 
    padding: 0; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
} 

#mainFrame { 
    width: 100%; 
    height: 100%; 
    border: 0; 
    padding: 0; 
    border-radius: var(--rounding); 
} 

#footer { 
    width: 100%; 
    height: var(--footerH); 
    display: flex; 
    align-items: center; 
    justify-content: flex-start; 
    padding: 0.25rem; 
    background-color: var(--bg-module); 
    border-radius: var(--rounding); 
    border-top: 2px solid var(--border-light); 
    border-left: 2px solid var(--border-light); 
    border-right: 2px solid var(--border-dark); 
    border-bottom: 2px solid var(--border-dark); 
} 

#status-box { 
    background-color: #c0c0c0; 
    color: #000; 
    padding: 2px 6px; 
    border-top: 2px solid var(--border-dark); 
    border-left: 2px solid var(--border-dark); 
    border-right: 2px solid var(--border-light); 
    border-bottom: 2px solid var(--border-light); 
    border-radius: var(--rounding); 
    height: calc(var(--footerH) - 8px); 
    display: flex; 
    align-items: center; 
    margin-left: 0.5rem; 
    margin-right: 1rem; 
    flex-shrink: 0; 
} 

#status-box span { 
    font-size: 0.75rem; 
    font-weight: bold; 
    line-height: 1; 
} 

#status-box span span { 
    color: #b91c1c; 
} 

#marquee { 
    flex-grow: 1; 
    overflow: hidden; 
    height: 100%; 
    display: flex; 
    align-items: center; 
} 

#rotating-text { 
    font-size: 0.75rem; 
    font-style: italic; 
    color: #d1d5db; 
    display: inline-block; 
    animation: continuousScroll 20s linear infinite; 
    white-space: nowrap; 
} 

@keyframes continuousScroll { 
    0% { transform: translateX(100%); } 
    100% { transform: translateX(-100%); } 
} 

.scrolling-text-fx { 
    display: inline-block; 
    animation: continuousScroll 5s linear infinite; 
    white-space: nowrap; 
    position: relative; 
} 

body { 
    background-color: #20242a; 
    color: #a2c4e8; 
    font-family: 'Courier New', Courier, monospace; 
    padding: 20px; 
    margin: 0 auto; 
    max-width: 1200px; 
    min-height: auto; 
    overflow: visible; /* Override initial hidden to allow content scroll */ 
} 

p { 
    margin-top: 0.5em; 
    margin-bottom: 0.5em; 
    word-wrap: break-word; /* Fix: Allow long descriptions to wrap */ 
} 

.italic { 
    font-style: italic; 
} 

.text-gray-400 { 
    color: #9ca3af; 
} 

.page-title { 
    background: #a2c4e8; 
    color: #000000; 
    padding: 8px; 
    font-size: 1.5rem; 
    font-weight: bold; 
    text-align: center; 
    border: 2px solid #4c535e; 
    margin-bottom: 20px; 
} 

.art-grid-simple { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 20px; 
    justify-content: space-between; 
} 

.art-item-pure { 
    background-color: #38404a; 
    border: 1px solid #7da4c5; 
    padding: 10px; 
    flex-basis: calc(50% - 10px); 
    box-sizing: border-box; 
    min-width: 250px; 
} 
 
@media (max-width: 550px) { 
    .art-item-pure { 
        flex-basis: 100%; 
    } 
} 

.art-title { 
    color: #ffcc00; 
    font-weight: bold; 
    font-size: 1.1rem; 
    margin-bottom: 8px; 
    border-bottom: 1px dashed #7da4c5; 
    padding-bottom: 4px; 
    text-align: center; 
} 

.image-link { 
    display: block; 
    text-decoration: none; 
    cursor: pointer; 
    padding: 5px 0; 
} 
 
.art-image { 
    max-width: 100%; 
    height: auto; 
    display: block; 
    margin: 8px auto; 
    border: 2px solid #ffcc00; 
    transition: border-color 0.2s; 
} 
 
.image-link:hover .art-image { 
    border-color: #f87171; 
} 
 
.desc-box-static { 
    background-color: #1a1e23; 
    border: 1px dashed #7da4c5; 
    padding: 10px; 
    color: #ccc; 
    font-size: 0.85rem; 
    margin-top: 10px; 
} 

.retro-block { 
    background-color: #2a303a; 
    border: 1px solid #4c535e; 
    box-shadow: 2px 2px 0 #4c535e; 
    padding: 1rem; 
    margin-bottom: 1.5rem; 
    overflow: hidden; 
} 
 
#intro-area { 
    background-color: #1a1e23; 
    border: 2px inset #4c535e; 
    padding: 16px; 
    color: #ccc; 
    max-height: 400px; 
    overflow-y: auto; 
} 
 
#intro-area .title { 
    background: #a2c4e8; 
    color: #000000; 
    padding: 4px; 
    margin: -16px -16px 16px -16px; 
    font-size: 1rem; 
    font-weight: bold; 
    text-align: center; 
    box-shadow: 0 2px 0 #4c535e; 
} 

a { 
    color: #f87171; 
} 
 
a:hover { 
    color: #ef4444; 
} 

.song-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 20px; 
} 

.song-item { 
    background-color: #38404a; 
    border: 2px outset #7da4c5; 
    padding: 10px; 
    box-sizing: border-box; 
    display: flex; 
    flex-direction: column; 
} 

.song-title { 
    color: #ffcc00; 
    font-weight: bold; 
    font-size: 1.1rem; 
    margin-bottom: 8px; 
    border-bottom: 1px dashed #7da4c5; 
    padding-bottom: 4px; 
    text-align: left; 
    word-wrap: break-word; 
} 

.song-item audio { 
    width: 100%; 
    margin-bottom: 10px; 
    background-color: #5c6778; 
    border: 1px solid #4c535e; 
} 

.desc-content.retro-desc-box { 
    background-color: #1a1e23; 
    border: 1px dashed #7da4c5; 
    padding: 8px; 
    color: #ccc; 
    font-size: 0.85rem; 
    margin-top: 0; 
} 

.desc-content.retro-desc-box p { 
    margin: 0; 
    word-wrap: break-word; 
    white-space: normal; 
}