@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 310px;
    height: 450px;
    overflow: hidden;
    background: transparent !important;
}

body {
    font-size: 11px;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    color: #fff;
}

img {
    border: none;
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.wrp_launcher {
    width: 310px;
    height: 450px;
    background: transparent !important;
}

.launcher {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: transparent !important;
}

.launcher .contents {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: transparent !important;
    display: flex;
    flex-direction: column;
}

/* ==================== TAB NAVIGATION ==================== */
.tab-nav {
    display: flex;
    background: linear-gradient(180deg, rgba(30, 15, 8, 0.95) 0%, rgba(20, 10, 5, 0.9) 100%);
    border-bottom: 1px solid rgba(176, 35, 35, 0.4);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    border-right: 1px solid rgba(50, 25, 15, 0.5);
    color: #8b7355;
    font-size: 11px;
    font-weight: 500;
    padding: 12px 5px;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    outline: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.tab-btn:last-child {
    border-right: none;
}

.tab-btn:hover {
    background: linear-gradient(180deg, rgba(61, 38, 24, 0.6) 0%, rgba(40, 25, 15, 0.4) 100%);
    color: #c8a880;
}

.tab-btn.active {
    background: linear-gradient(180deg, rgba(176, 35, 35, 0.4) 0%, rgba(130, 25, 25, 0.3) 100%);
    color: #fff;
    font-weight: 600;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #ff4444 50%, transparent 100%);
    box-shadow: 0 0 8px rgba(255, 68, 68, 0.6);
}

/* ==================== TAB CONTENT ==================== */
.tab-content {
    display: none;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px 12px;
}

.tab-content.active {
    display: block;
}

/* Scrollbar styling */
.tab-content::-webkit-scrollbar {
    width: 6px;
}

.tab-content::-webkit-scrollbar-track {
    background: rgba(10, 5, 3, 0.4);
    border-radius: 10px;
    margin: 4px 0;
}

.tab-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(176, 35, 35, 0.7) 0%, rgba(130, 25, 25, 0.6) 100%);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.tab-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(200, 40, 40, 0.85) 0%, rgba(160, 30, 30, 0.75) 100%);
}

/* ==================== NEWS ITEM ==================== */
.news-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(25, 15, 10, 0.75) 0%, rgba(15, 10, 8, 0.65) 100%);
    border-radius: 5px;
    border: 1px solid rgba(80, 45, 30, 0.4);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(176, 35, 35, 0.15) 50%, transparent 100%);
    transition: left 0.4s ease;
}

.news-item:hover::before {
    left: 100%;
}

.news-item:hover {
    background: linear-gradient(135deg, rgba(35, 20, 12, 0.85) 0%, rgba(25, 15, 10, 0.75) 100%);
    border-color: rgba(176, 35, 35, 0.6);
    box-shadow: 0 4px 12px rgba(176, 35, 35, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: translateX(3px);
}

.news-item:active {
    transform: translateX(3px) scale(0.98);
}

/* Thumbnail */
.news-thumb {
    flex-shrink: 0;
    width: 75px;
    height: 75px;
    overflow: hidden;
    border-radius: 5px;
    background: linear-gradient(135deg, 
        rgba(176, 35, 35, 0.3) 0%, 
        rgba(80, 20, 20, 0.5) 50%, 
        rgba(30, 10, 10, 0.7) 100%);
    border: 1.5px solid rgba(100, 50, 30, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pattern background */
.news-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, 
            transparent, 
            transparent 10px, 
            rgba(0, 0, 0, 0.1) 10px, 
            rgba(0, 0, 0, 0.1) 20px);
    opacity: 0.3;
}

/* Logo text */
.news-thumb::before {
    content: 'MU';
    font-size: 28px;
    font-weight: bold;
    color: rgba(216, 202, 191, 0.25);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 0;
    position: relative;
}

.news-item:hover .news-thumb {
    border-color: rgba(176, 35, 35, 0.7);
    box-shadow: 0 3px 12px rgba(176, 35, 35, 0.4);
    transform: scale(1.05);
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.news-item:hover .news-thumb img {
    transform: scale(1.1);
}

/* News Info */
.news-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.news-info h3 {
    font-size: 11px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-info h3 a {
    color: #e8d8c8;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    transition: color 0.2s ease;
}

.news-item:hover .news-info h3 a {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 100, 100, 0.5);
}

.news-date {
    font-size: 9.5px;
    color: #9a8570;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.3px;
}

.news-link {
    font-size: 9px;
    color: #F5CA1D;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 3px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    transition: color 0.2s ease;
}

.news-item:hover .news-link {
    color: #ff5555;
}

.link-icon {
    font-size: 9px;
    opacity: 0.8;
}