* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000 url('/files/img/stars.jpg') repeat;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 12px;
    color: #fff;
    min-height: 100vh;
}

#wrap {
    max-width: 680px;
    margin: 0 auto;
    padding: 18px 12px 40px;
}

#header {
    border: 1px solid #4A29C2;
    border-bottom: none;
    background: linear-gradient(180deg, #0d0d1a 0%, #000 100%);
    padding: 10px 12px 8px;
    text-align: center;
}

#header h1 {
    font-size: 22px;
    font-weight: bold;
    color: #b39dff;
    text-shadow: 0 0 8px #4A29C2, 0 0 20px #4A29C2;
    letter-spacing: 2px;
    font-family: Verdana, sans-serif;
}

#header .sub {
    font-size: 10px;
    color: #7a6bcc;
    margin-top: 3px;
    letter-spacing: 1px;
}

#nav {
    background: #0a0018;
    border: 1px solid #4A29C2;
    border-top: 2px solid #7a6bcc;
    border-bottom: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

#nav a {
    color: #c8b8ff;
    text-decoration: none;
    font-size: 11px;
    padding: 5px 12px;
    border-right: 1px solid #2a1a60;
    display: inline-block;
}

#nav a:last-child {
    border-right: none;
}

#nav a:hover {
    background: #4A29C2;
    color: #fff;
}

#content {
    border: 1px solid #4A29C2;
    background: rgba(0, 0, 0, 0.82);
    padding: 14px 16px;
}

.box {
    border: 1px solid #2e1a70;
    background: rgba(10, 0, 30, 0.6);
    margin-bottom: 14px;
}

.box-title {
    background: linear-gradient(90deg, #4A29C2, #1a0a50);
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.box-body {
    padding: 10px 10px;
    line-height: 1.7;
    font-size: 12px;
    color: #ddd;
}

.box-body p {
    margin-bottom: 8px;
}

.box-body p:last-child {
    margin-bottom: 0;
}

a,
a:visited {
    color: #a48fff;
    text-decoration: underline dotted;
}

a:hover {
    color: #fff;
}

#marquee-bar {
    background: #0a0018;
    border: 1px solid #4A29C2;
    border-top: none;
    border-bottom: none;
    padding: 3px 0;
    overflow: hidden;
}

marquee {
    color: #7a6bcc;
    font-size: 11px;
}

hr {
    border: none;
    border-top: 1px solid #2e1a70;
    margin: 10px 0;
}

#buttons {
    border: 1px solid #4A29C2;
    border-top: none;
    background: rgba(0, 0, 0, 0.75);
    padding: 8px 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
}

#buttons img {
    width: 88px;
    height: 31px;
    image-rendering: pixelated;
    display: block;
}

#buttons a img,
#buttons img {
    border: 1px solid #2e1a70;
}

#buttons a img:hover {
    border-color: #4A29C2;
    outline: 1px solid #7a6bcc;
}

#footer {
    border: 1px solid #4A29C2;
    border-top: 1px solid #2e1a70;
    background: #0a0018;
    text-align: center;
    padding: 6px;
    font-size: 10px;
    color: #4a3a80;
}

.username {
    color: #b39dff;
    font-weight: bold;
}

.highlight {
    color: #c8b8ff;
}

.dim {
    color: #888;
}

details summary {
    cursor: pointer;
    color: #a48fff;
    font-size: 11px;
    margin-bottom: 4px;
}

details summary:hover {
    color: #fff;
}

details ul {
    margin: 6px 0 0 16px;
    color: #bbb;
    line-height: 1.8;
}

.middle {
    text-align: center;
}