/* === کانتینر تلویزیون === */
body {
    margin: 0;
    font-family: 'Tahoma', sans-serif;
    background: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#tv-container {
    width: 100%;
    max-width: 750px; /* حداکثر عرض */
    background: rgba(40, 40, 40, 0.6); /* شیشه ای */
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    position: relative;
}

/* لوگو گوشه */
#tv-logo {
    position: absolute;
    top: 35px;
    right: 35px;
    width: 100px;
    height: auto;
    border-radius: 12px;
    z-index: 10;
}

/* پلیر ویدیو */
#video-wrapper {
    width: 100%;
    max-height: 450px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

#tv-video {
    width: 100%;
    height: 100%;
    max-height: 450px;
    border-radius: 16px;
    background: black;
    object-fit: contain;
    display:block;
    margin: 0 auto;
}


.tv-name{
    background: rgba(255,140,60,0.2);
    border:1px solid rgba(255,140,60,0.4);
    border-radius:20px;
    padding:8px 14px;
    font-size:16px;
    color:#ffb070;
    font-weight:bold;
}

.back-chat{
    background: rgba(255,140,60,0.2);
    border:1px solid rgba(255,140,60,0.4);
    border-radius:120px;
    padding:8px 14px;
    font-size:16px;
    color:#ffb070;
    font-weight:bold;
}

/* کنترل‌ها */
#tv-controls {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

#tv-controls button {
    background: rgba(255,140,60,0.2);
    border: 1px solid rgba(255,140,60,0.4);
    border-radius: 50%;
    padding: 10px 14px;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

#tv-controls button:hover {
    transform: scale(1.1);
    background: rgba(255,140,60,0.35);
}

/* ریسپانسیو موبایل */
@media (max-width: 480px) {
    #tv-container { padding: 8px; }
    #tv-logo { width: 50px; }
    #tv-controls button { padding: 8px 12px; font-size: 16px; }
}







#tv-controls a {
    text-decoration: none; /* حذف خط زیر لینک */
    color: inherit;        /* رنگ همون span باشه */
    cursor: pointer;       /* موس تغییر کنه */
}