﻿body {
    margin: 0;
    font-family: 'Noto Sans KR', sans-serif;
    background: #f2f2f2;
    color: #222;
}

a {
    text-decoration: none;
    color: inherit;
}

/* HEADER */
.header {
    background: #03c75a;
    color: white;
    padding: 10px;
    text-align: center;
}

    .header .logo {
        font-size: 24px;
        font-weight: 900;
        margin-bottom: 6px;
    }

.search-box {
    display: flex;
    width: 90%;
    max-width: 360px;
    margin: 0 auto;
}

    .search-box input {
        flex: 1;
        padding: 8px;
        border-radius: 4px 0 0 4px;
        border: none;
    }

    .search-box button {
        width: 60px;
        border: none;
        border-radius: 0 4px 4px 0;
        background: #036d2e;
        color: white;
    }

/* NEWSSTAND */
.news-box {
    background: white;
    margin: 12px 6px;
    padding: 8px;
    border-radius: 8px;
}

.swiper {
    padding: 6px 0;
}

.swiper-slide {
    text-align: center;
    font-size: 12px;
    background: #fafafa;
    border-radius: 6px;
    padding: 4px;
}

    .swiper-slide img {
        display: block;
        margin: 0 auto 4px;
        width: 36px;
        height: 36px;
    }

/* NEWS LIST */
.news-section {
    margin: 12px 6px;
}

.news-card {
    background: white;
    border-radius: 6px;
    padding: 6px;
}

    .news-card img {
        width: 100%;
        height: 120px;
        object-fit: cover;
        border-radius: 4px;
        margin-bottom: 4px;
    }

    .news-card h4 {
        font-size: 14px;
        margin: 0 0 2px;
    }

    .news-card .desc {
        font-size: 12px;
        color: #666;
    }

/* REALTIME TABS */
.right-box {
    margin: 12px 6px;
}

.tab-buttons {
    display: flex;
    margin-bottom: 6px;
}

.tab-btn {
    flex: 1;
    padding: 6px 0;
    background: #eaeaea;
    border: none;
    font-size: 12px;
    cursor: pointer;
    border-radius: 4px 4px 0 0;
}

    .tab-btn.active {
        background: #03c75a;
        color: white;
    }

.tab-content {
    background: white;
    padding: 8px;
    border-radius: 0 0 6px 6px;
}

.list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .list li {
        font-size: 12px;
        padding: 4px 0;
        border-bottom: 1px solid #f0f0f0;
    }

/* FOOTER */
.footer {
    text-align: center;
    font-size: 12px;
    color: #666;
    padding: 12px;
}

/* SWIPER */
.swiper-slide {
    user-select: none;
    -webkit-user-drag: none;
}
