body{
    font-family:Tahoma, sans-serif;
    direction:rtl;
    background:#f5f6fa;
    padding:10px;
    margin:0;
}

h1{
    text-align:center;
    font-size:22px;
    margin-bottom:10px;
    color:#222;
}

/* خبرها */

.news{
    background:#fff;
    padding:14px;
    margin:10px 0;
    border-radius:10px;
    border:1px solid #e5e5e5;
    box-shadow:0 2px 6px rgba(0,0,0,0.05);
    line-height:1.7;
    transition:0.2s;
}

.news:hover{
    box-shadow:0 4px 10px rgba(0,0,0,0.08);
}

.news b{
    font-size:16px;
    color:#222;
}

.news small{
    color:#888;
    font-size:12px;
}

/* خبر فوری */

.live{
    background:linear-gradient(90deg,#ff2d2d,#ff6a6a);
    color:#fff;
    padding:10px;
    margin-bottom:12px;
    border-radius:8px;
    font-weight:bold;
    font-size:15px;
    box-shadow:0 2px 8px rgba(0,0,0,0.1);
}

/* دکمه ها */

button{
    padding:8px 14px;
    margin:5px;
    border:none;
    background:#0077ff;
    color:white;
    border-radius:8px;
    cursor:pointer;
    font-size:14px;
    transition:0.2s;
}

button:hover{
    background:#005fd1;
}

.install{
    padding:8px 16px;
}

/* جستجو */

#searchBox{
    width:95%;
    padding:10px;
    margin:12px 0;
    font-size:15px;
    border:1px solid #ddd;
    border-radius:8px;
    outline:none;
    transition:0.2s;
}

#searchBox:focus{
    border-color:#0077ff;
    box-shadow:0 0 0 2px rgba(0,119,255,0.1);
}

/* زمان بروزرسانی */

#lastUpdate{
    font-size:13px;
    color:#777;
    margin-bottom:10px;
}

/* هشتگ */

.hashtag{
    color:#0077ff;
    cursor:pointer;
    font-weight:bold;
}

.hashtag:hover{
    text-decoration:underline;
}

/* نوار خبر */

#tickerBox{
    width:100%;
    background:linear-gradient(90deg,#3baeff, #7accff);
    color:white;
    padding:8px 0;
    overflow:hidden;
    white-space:nowrap;
    font-weight:bold;
    font-size:14px;
    border-radius:6px;
    margin-bottom:10px;
}

#tickerText{
    display:inline-block;
    white-space:nowrap;
    animation:ticker 30s linear infinite;
}

@keyframes ticker{
    0%{
        transform: translateX(-100vw);
    }
    100%{
        transform: translateX(100%);
    }
}

/* مخفی */

.hidden{
    display:none;
}
