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

body {
    font-family: 'Courier New', monospace;
    background: #0a0e27;
    color: #00ff88;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.m8-container {
    display: flex;
    min-height: 100vh;
}

.m8-main {
    flex: 1;
    padding: 0 0 24px 0;
}

.m8-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #001428 0%, #002850 100%);
    padding: 20px 40px;
    border-bottom: 2px solid #00ff88;
    position: sticky;
    top: 0;
    z-index: 100;
}

.m8-logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: #00ff88;
    text-shadow: 0 0 10px #00ff88;
}

.m8-searchbar {
    display: flex;
    gap: 8px;
}

.m8-search {
    padding: 12px 20px;
    background: #001428;
    border: 1px solid #00ff88;
    color: #00ff88;
    width: 300px;
}

.m8-searchbtn {
    padding: 12px 20px;
    background: #00ff88;
    color: #001428;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.m8-sidebar {
    width: 280px;
    background: #001428;
    border-left: 2px solid #00ff88;
    padding: 32px 24px;
}

.m8-navtitle {
    font-size: 1.1rem;
    color: #00ff88;
    margin-bottom: 16px;
    border-bottom: 1px solid #00ff88;
    padding-bottom: 8px;
}

.m8-navlink {
    display: block;
    padding: 12px 16px;
    margin-bottom: 8px;
    background: transparent;
    transition: all 0.2s;
}

.m8-navlink:hover, .m8-navlink.active {
    background: #00ff8820;
    border-left: 3px solid #00ff88;
}

.m8-panel {
    margin-top: 32px;
    padding: 20px;
    background: #001830;
    border: 1px solid #00ff88;
}

.m8-paneltitle {
    color: #00ff88;
    margin-bottom: 12px;
}

.m8-stat {
    color: #00ff88;
}

.m8-content {
    padding: 32px 40px;
}

.m8-section {
    margin-bottom: 48px;
}

.m8-sectionhead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid #00ff8840;
    padding-bottom: 12px;
}

.m8-sectionhead h2 {
    font-size: 1.4rem;
    color: #00ff88;
}

.m8-morelink {
    color: #00ff88;
}

.m8-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
}

.m8-card {
    background: #001830;
    border: 1px solid #00ff8830;
    transition: all 0.3s;
}

.m8-card:hover {
    border-color: #00ff88;
    transform: translateY(-4px);
    box-shadow: 0 8px 30px #00ff8820;
}

.m8-cardimg {
    position: relative;
    padding-top: 140%;
}

.m8-cardimg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: vod_pic;
}

.m8-cardinfo {
    padding: 16px;
}

.m8-cardtitle {
    font-weight: 600;
    margin-bottom: 6px;
    color: #00ff88;
}

.m8-cardmeta {
    color: #00ff8890;
    font-size: 0.9rem;
}

.m8-footer {
    background: #001428;
    padding: 24px;
    text-align: center;
    border-top: 2px solid #00ff88;
    color: #00ff8880;
}
.m8-pagination {
    display:flex;
    justify-content:center;
    gap:10px;
    margin-top:48px;
    flex-wrap:wrap;
}
.m8-pagination a {
    padding:10px 16px;
    border:1px solid #00ff88;
    background:#001428;
    color:#00ff88;
    text-decoration:none;
}
.m8-pagination a:hover, .m8-pagination a.active {
    background:#00ff88;
    color:#001428;
}

.m8-hero {
    background: linear-gradient(135deg, #001428, #002850);
    padding: 60px;
    margin: 0 40px 32px;
    border: 1px solid #00ff88;
    text-align: center;
}

.m8-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
    text-shadow: 0 0 20px #00ff88;
}

#friendlink{display: block;}
#friendlink .content{
    display: flex;
    flex-direction: column;
    align-items: self-start;
    justify-content: center;
} 
#friendlink .content h2{ 
    font-size: 16px;
}
#friendlink .content .flinks{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}
#friendlink .content .flinks a{
    font-size: 14px;
    text-align: left;
}
@media (max-width: 1024px) {
    .m8-container { flex-direction: column; }
    .m8-sidebar { width: 100%; border-left: none; border-top: 2px solid #00ff88; }
    .m8-topbar { flex-direction: column; gap: 16px; padding: 16px 20px; }
    .m8-search { width: 100%; }
}

@media (max-width: 768px) {
    .m8-grid { grid-template-columns: repeat(2, 1fr); }
    .m8-content, .m8-hero { padding: 20px; margin: 0 16px 20px; }
    #friendlink{display: none;}
}
.comment{
    display: flex;
    flex-direction: column;
}
.user{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 12px;
}
.comment-content{
    font-size: 14px;
}
