﻿.video-page { margin: 20px auto; max-width: 1400px; padding: 0 15px; }
.page-title { display: block; font-size: 22px; font-weight: 700; margin: 0 0 15px 0; color: #000; }
.duration { font-size: 14px; font-weight: 400; margin-left: 10px; background: #777; color: #fff; padding: 2px 6px; }
.page-title .video-hd-mark { display: inline-block; background: #e1351f; color: #fff; font-size: 11px; font-weight: 700; padding: 2px 6px; margin-left: 8px; vertical-align: middle; }
.video-metadata { margin-bottom: 15px; }
.video-tags-list ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.video-tags-list .btn { display: inline-block; background: #d9d9d9; color: #333; font-size: 14px; padding: 0px 6px; text-decoration: none; }
.video-tags-list .main-uploader .btn { background: #de2600; color: #fff; font-weight: 700; }
.video-row-1 { margin-bottom: 5px; display: grid; grid-template-columns: 1fr 300px; gap: 5px; }
.video-player-cell { min-width: 0; }
.video-row-right { width: 300px; position: relative; background: #eee; align-self: stretch; }
.video-row-right .ad-slot { position: relative; width: 100%; height: 100%; }
.video-row-right .ad-slot > a { display: block; width: 100%; height: 100%; position: relative; }
.video-row-right .ad-slot > a img,
.video-row-right .ad-slot > a video { position: absolute !important; top: 50% !important; left: 0 !important; width: 100% !important; transform: translateY(-50%) !important; max-height: 100% !important; object-fit: contain !important; }
.video-row-right .ad-slot > img,
.video-row-right .ad-slot > video { position: absolute !important; top: 50% !important; left: 0 !important; width: 100% !important; transform: translateY(-50%) !important; max-height: 100% !important; object-fit: contain !important; }
.video-row-right .ad-slot.tall-ad > a img,
.video-row-right .ad-slot.tall-ad > a video { top: 0 !important; transform: none !important; height: 100% !important; max-height: none !important; object-fit: cover !important; }
.video-row-right .ad-slot.tall-ad > img,
.video-row-right .ad-slot.tall-ad > video { top: 0 !important; transform: none !important; height: 100% !important; max-height: none !important; object-fit: cover !important; }
.video-row-right .ad-attribution { position: absolute; bottom: 0; left: 0; width: 100%; text-align: center; z-index: 1; }
.ad-slot img, .ad-slot video { max-width: 100%; height: auto; object-fit: contain; }
.ad-attribution { text-align: center; }
.ads-placeholder { width: 300px; height: 100%; background: #f5f5f5; border: 1px dashed #ccc; display: flex; align-items: center; justify-content: center; color: #aaa; font-size: 13px; }
.ad-text { text-align: center; }
.ad-title { font-size: 14px; font-weight: 700; color: #333; margin-bottom: 6px; }
.ad-email a { font-size: 13px; color: #DE2600; font-weight: 600; text-decoration: none; }
.ad-email a:hover { text-decoration: underline; }
.ad-device-desktop { display: flex; flex: 1; min-height: 300px; height: 100%; }
.ad-device-mobile { display: none; }
.ad-device-desktop .ad-slot { width: 100%; height: 100%; display: flex; flex-direction: column; margin: 0; padding: 0; }
.ad-device-desktop .ad-slot > a { width: 100%; flex: 1; display: flex; margin: 0; }

.sidebar-ad-fallback { display: flex; flex: 1; align-items: center; justify-content: center; min-height: 300px; width: 100%; }
.sidebar-ad-fallback-inner { text-align: center; padding: 20px; }
.sidebar-ad-text-animated { font-size: 32px; font-weight: 900; color: #ddd; letter-spacing: 6px; text-transform: uppercase; animation: adPulse 2s ease-in-out infinite; margin-bottom: 10px; }
@keyframes adPulse { 0%,100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
.sidebar-ad-subtext { font-size: 12px; color: #aaa; margin-bottom: 14px; }
.sidebar-ad-contact a { font-size: 13px; color: #DE2600; font-weight: 600; text-decoration: none; }
.sidebar-ad-contact-link { margin-top: 8px; }
.sidebar-ad-contact-link a { font-size: 12px; color: #666; text-decoration: underline; }

#v-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
#v-actions-left { display: flex; align-items: center; gap: 15px; }
#v-actions-left .tab-button { margin-left: 10px; }
#v-views { font-size: 14px; color: #333; }
#v-views strong { font-weight: 700; }
#v-views i { margin-right: 5px; }
.vote-actions { display: flex; align-items: center; gap: 0; }
.vote-action-good, .vote-action-bad { background: none; border: none; border-bottom: 2px solid #000; cursor: pointer; font-size: 14px; color: #666; }
.vote-action-good:hover, .vote-action-bad:hover { color: #e1351f; }
.vote-action-good.active { color: #28a745; border-bottom-color: #28a745; }
.vote-action-bad.active { color: #e1351f; border-bottom-color: #e1351f; }
.vote-action-good i, .vote-action-bad i { margin-right: 3px; }
.tabs { display: flex; gap: 8px; }
.tabs .tab-button { background: #f5f5f5; border: none; cursor: pointer; font-size: 50px; padding: 5px 8px; color: #666; }
.tabs .tab-button:hover { background: #e1351f; color: #fff; }
.tabs .tab-button .badge { background: #e1351f; color: #fff; font-size: 10px; padding: 2px 4px; border-radius: 2px; margin-right: 3px; }
.tabs .tab-button:hover .badge { background: #fff; color: #e1351f; }
.tabs-right { display: flex; gap: 8px; margin-left: auto; }
.tabs-right .tab-button { display: flex; align-items: center; gap: 4px; padding: 6px 10px; background: transparent; border: none; border-bottom: 2px solid transparent; cursor: pointer; font-size: 12px; white-space: nowrap; color: var(--text-color, #333); border-radius: 0; }
.tabs-right .tab-button:hover { border-bottom-color: #000; }
.tabs-right .tab-button.active { border-bottom-color: #e1351f; color: #e1351f; }
.related-videos-section { margin-top: 30px; border-top: none; }
.related-videos-section .related-title { font-size: 14px; font-weight: 400; margin-bottom: 15px; color: #000; border-bottom: 1px solid #ddd; padding-bottom: 8px; }
.video-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }
.video-item { cursor: pointer; }
.video-thumb { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; overflow: hidden; }
.video-thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.video-badge { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.8); color: #fff; padding: 1px 5px; font-size: 10px; font-weight: 600; line-height: 16px; height: 18px; }
.video-badge.hd { background: #DE2600; right: 8px; left: auto; bottom: 30px; }
.video-info { padding: 10px 0; }
.related-videos-section .video-grid .video-info .video-title { font-size: 15px; font-weight: 400; color: #000; line-height: 1.4; margin: 0 0 5px; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; word-wrap: break-word; }
.video-meta { font-size: 12px; color: #666; }
.video-meta .name { color: #DE2600; }
.video-meta .duration-text { background: #777777; color: #fff; padding: 1px 5px; font-size: 11px; }
.video-comments-section { margin-top: 30px; }
.video-comments-section .comments-title { font-size: 14px; font-weight: 400; margin-bottom: 15px; color: #000; border-bottom: 1px solid #ddd; padding-bottom: 8px; }
.thread-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid #eee; }
.thread-title { font-size: 14px; font-weight: 400; }
.thread-title i { margin-right: 5px; }
.thread-node-children-count { font-size: 14px; font-weight: 600; background: #000; color: #fff; padding: 2px 6px; }
.thread-sort { font-size: 12px; color: #999; }
.thread-sort a { color: #999; text-decoration: none; cursor: pointer; }
.thread-sort a.active { color: #DE2600; }
.thread-node-btn-post { margin-left: auto; background: transparent; color: #333; border: 1px solid #999; padding: 6px 12px; text-decoration: none; font-size: 12px; }
.thread-node-btn-post:hover { background: #777; color: #fff; }
.thread-node-children-nodes { color: #666; font-size: 14px; }
.thread-form { margin-bottom: 20px; }
.thread-form textarea { width: 100%; box-sizing: border-box; min-height: 80px; padding: 10px; border: 1px solid #ccc; font-size: 14px; resize: vertical; font-family: inherit; }
.thread-form textarea:focus { outline: none; border-color: #999; }
.thread-form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.thread-form-actions button { padding: 6px 14px; font-size: 13px; border: none; cursor: pointer; }
.btn-submit-comment { background: #000; color: #fff; }
.btn-submit-comment:hover { background: #333; }
.btn-cancel-comment { background: #ddd; color: #333; }
.btn-cancel-comment:hover { background: #ccc; }
.comment-node { padding: 12px 0; border-bottom: 1px solid #f0f0f0; display: flex; gap: 12px; }
.comment-replies { padding-left: 20px; margin-top: 4px; border-left: 2px solid #eee; }
.comment-replies .comment-node { border-bottom: none; padding: 8px 0; }
.comment-replies .comment-avatar { width: 28px; height: 28px; font-size: 12px; border-radius: 50%; overflow: hidden; }
.comment-replies .comment-text { font-size: 13px; }
.comment-avatar { width: 36px; height: 36px; border-radius: 50%; background: #ccc; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #fff; flex-shrink: 0; overflow: hidden; }
.comment-avatar img { width: 100%; height: 100%; object-fit: cover; }
.comment-body { flex: 1; }
.comment-author { font-size: 13px; font-weight: 700; color: #333; margin-bottom: 3px; }
.comment-author span { font-weight: 400; color: #999; font-size: 11px; margin-left: 8px; }
.comment-text { font-size: 14px; color: #444; line-height: 1.5; }
.comment-actions { margin-top: 6px; display: flex; gap: 12px; }
.comment-actions a { font-size: 12px; color: #999; text-decoration: none; cursor: pointer; }
.comment-actions a:hover { color: #e1351f; }
.no-comments { color: #999; font-size: 14px; padding: 20px 0; }
.xv-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9999; align-items: center; justify-content: center; }
.xv-modal-overlay.open { display: flex; }
.xv-modal { background: #fff; padding: 24px; min-width: 320px; max-width: 350px; width: 50%; position: relative; }
.xv-modal h3 { margin: 0 0 16px; font-size: 16px; }
.xv-modal input[type=text], .xv-modal select, .xv-modal textarea { width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid #ccc; font-size: 14px; }
.xv-modal-actions { display: flex; justify-content: flex-end; gap: 8px; }
.xv-modal-actions button { padding: 7px 16px; font-size: 13px; border: none; cursor: pointer; }
.btn-modal-ok { background: #000; color: #fff; }
.btn-modal-ok:hover { background: #333; }
.btn-modal-cancel { background: #ddd; color: #333; }
.xv-modal-close { position: absolute; top: 10px; right: 14px; background: none; border: none; font-size: 18px; cursor: pointer; color: #999; }
.xv-modal-close:hover { color: #333; }
.scr-modal { min-width:240px;max-width:320px;padding:16px;border-radius:8px;box-shadow:0 4px 24px rgba(0,0,0,.2); }
.scr-title { margin:0 0 10px;font-size:14px;font-weight:600;color:#222; }
.scr-preview { background:#000;border-radius:6px;overflow:hidden;margin-bottom:10px;aspect-ratio:1/1;max-height:45vh;display:flex;align-items:center;justify-content:center;border:1px solid #e0e0e0; }
.scr-preview img { max-width:100%;max-height:100%;display:block;object-fit:contain; }
.scr-modal .xv-modal-actions { gap:6px; }
.scr-modal .xv-modal-actions button { padding:6px 14px;font-size:12px;border-radius:4px; }
.xv-modal.share-modal { min-width: 380px; max-width: 420px; border-radius: 8px; }
.share-section { margin-bottom: 16px; }
.share-section:last-child { margin-bottom: 0; }
.share-label { font-size: 12px; font-weight: 600; color: #888; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.share-link-container { display: flex; border: 1px solid #ddd; border-radius: 6px; overflow: hidden; background: #fff; }
.share-link-container input { flex: 1; padding: 10px 12px; border: none; outline: none; font-size: 13px; color: #333; }
.share-link-container button { padding: 10px 16px; background: #000; color: #fff; border: none; cursor: pointer; font-size: 12px; font-weight: 600; white-space: nowrap; transition: background .2s; }
.share-link-container button:hover { background: #333; }
.share-social-icons { display: flex; gap: 8px; flex-wrap: wrap; }
.share-social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; font-size: 18px; text-decoration: none; color: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.15); transition: transform .2s, box-shadow .2s; }
.share-social-icons a:hover { transform: scale(1.12); box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.share-social-icons a span { display: none; }
.share-social-fb { background: #1877F2; }
.share-social-ig { background: #E4405F; }
.share-social-re { background: #FF4500; }
.share-social-tg { background: #0088cc; }
.share-social-wa { background: #25D366; }
#xv-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: #222; color: #fff; padding: 10px 22px; border-radius: 4px; font-size: 14px; z-index: 99999; opacity: 0; transition: opacity .25s; pointer-events: none; }
#xv-toast.show { opacity: 1; }
.hidden { display: none; }
.loading { text-align: center; padding: 60px 20px; font-size: 16px; color: #666; }
.error-msg { text-align: center; padding: 60px 20px; font-size: 16px; color: #e1351f; }
#modal-auth .xv-modal { text-align: center;  }
#modal-auth .xv-modal h3 { font-size: 18px; margin-bottom: 8px; }
#modal-auth .auth-sub  { font-size: 14px; color: #666; }
#modal-auth .auth-icon { font-size: 20px; color: #000000; margin-bottom: 5px; }
.auth-btn-group { display: flex; flex-direction: column; gap: 10px; }
.auth-btn-group a { display: block; padding: 10px 0; font-size: 14px; font-weight: 700; text-decoration: none; text-align: center; }
.btn-auth-login    { color: #000000; }
.btn-auth-register { background: #f0f0f0; color: #333; }
.btn-auth-register:hover { background: #ddd; }
.auth-modal-cancel { margin-top: 10px; background: none; border: none; font-size: 13px; color: #999; cursor: pointer; }
.auth-modal-cancel:hover { color: #333; }
#player-container { background: #000; aspect-ratio: 16/9; position: relative; }
#player-container iframe { width:100%; height:100%; border:none; display:block; }
#hlsplayer { position: relative; background: #000; aspect-ratio: 16/9; overflow: hidden; user-select: none; line-height: normal; direction: ltr; }
#hlsplayer video { position: absolute; inset: 0; width:100%; height:100%; display: block; object-fit: contain; z-index: 0; }
.video-pic { position: absolute; inset: 0; z-index: 1; pointer-events: auto; cursor: pointer; transition: opacity .5s; }
.video-pic img { width:100%; height:100%; object-fit: cover; display: block; }
.embed-responsive { position: relative; display: block; width: 100%; aspect-ratio: 16/9; }
.noselect { -webkit-user-select: none; user-select: none; }
.video-click-handler { position: absolute; inset: 0; z-index: 2; cursor: pointer; pointer-events: auto; }
.video-error-overlay { position: absolute; inset: 0; z-index: 6; display: none; flex-direction: column; align-items: center; justify-content: center; background: rgba(0,0,0,.8); color: #fff; gap: 16px; }
.video-error-msg { font-size: 14px; color: #ccc; }
.top-top { position: absolute; top:0; left:0; right:0; z-index:10; padding: 10px 15px; opacity:1; transition:opacity .3s; pointer-events: none; background: linear-gradient(to bottom, rgba(0,0,0,.85) 0%, transparent 100%); }
.top-top .video-title { color:#fff; font-size:12px; line-height:16px; margin:0; text-shadow:0 1px 2px rgba(0,0,0,.5); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; pointer-events:auto; }
.xp-play-btn { position:absolute; top:50%; left:50%; z-index:5; transform:translate(-50%,-50%); pointer-events:none; opacity:0; transition:opacity .25s; }
.xp-play-btn.visible { opacity:1; }
.xp-play-btn span { display:flex; align-items:center; justify-content:center; width:58px; height:58px; border-radius:50%; background:rgba(0,0,0,.6); cursor:pointer; border:2px solid rgba(255,255,255,.25); transition:background .2s, border-color .2s, transform .15s; pointer-events:auto; }
.xp-play-btn span::after { content:''; display:block; width:0; height:0; border-style:solid; border-width:9px 0 9px 17px; border-color:transparent transparent transparent #fff; margin-left:4px; }
.xp-play-btn:hover span { background:rgba(222,38,0,.85); border-color:rgba(222,38,0,.4); transform:scale(1.06); }
.video-ended-desktop { position: absolute; inset:0; z-index:4; display: none; align-items:center; justify-content:center; background: rgba(0,0,0,.5); }
.video-loader { position: absolute; z-index:3; width:72px; height:72px; top:50%; left:50%; transform:translate(-50%,-50%); display:none; text-align:center; }
.video-loader .buffer { width:100%; height:100%; border:3px solid rgba(255,255,255,.2); border-top-color:#de2600; border-radius:50%; animation:spin .8s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
.buttons-bar { position: absolute; bottom:0; z-index:10; display:flex; align-items:center; opacity:1; transition:opacity .3s; padding:6px 12px; background:linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 100%); gap:2px; }
.buttons-bar.left { left:0; right:auto; }
.buttons-bar.right { right:0; left:auto; }
.buttons-bar span, .buttons-bar .ctrl-wrap { display:flex; align-items:center; justify-content:center; cursor:pointer; color:#fff; opacity:.9; transition:opacity .2s; width:24px; height:24px; padding:8px 11px; font-size:16px; }
.buttons-bar span:hover { opacity:1; }
.volume-bar { display:flex; align-items:center; width:60px; height:24px; margin:8px 5px; cursor:pointer; }
.volume-bar-fill { height:4px; background:#de2600; border-radius:2px; transition:width .1s; }
.volume-bar-track { height:4px; flex:1; background:rgba(255,255,255,.3); border-radius:2px; position:relative; }
.progress-text { padding:8px 11px; line-height:24px; color:#fff; font-size:12px; white-space:nowrap; }
.screenshot-btn, .ctrl-pip-btn { cursor:pointer; color:#fff; opacity:.9; }
.settings-btn { position:relative; cursor:pointer; color:#fff; }
.progress-bar-container { position: absolute; bottom:40px; left:2px; right:2px; height:4px; z-index:10; opacity:1; transition:opacity .3s; cursor:pointer; }
.progress-bar { position:relative; height:100%; background:rgba(255,255,255,.2); border-radius:2px; }
.bufferdiv { position:absolute; inset:0; overflow:hidden; border-radius:2px; }
.buffer-elt { height:100%; border-radius:2px; position:absolute; top:0; background-color:rgba(255,255,255,.15); }
.cursor { height:100%; position:absolute; top:0; background:#de2600; border-radius:2px; transition:width .05s linear; }
.seek-cursor { position:absolute; bottom:20px; pointer-events:none; z-index:20; display:none; transform:translateX(-50%); }
.seek-thumb { width:138px; height:78px; background-size:cover; background-position:center; border:2px solid #fff; border-radius:2px; box-shadow:0 2px 8px rgba(0,0,0,.5); background-color:#000; }
.seek-text { text-align:center; color:#fff; font-size:11px; padding:2px 0; }
.settings-menu { position: absolute; z-index:20; background:rgba(34,34,34,.96); border-radius:4px; min-width:160px; padding:4px 0; list-style:none; margin:0; display:none; font-size:12px; bottom:40px; right:12px; }
.settings-menu.open { display:block; }
.settings-menu li { padding:7px 14px; color:#ccc; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:10px; white-space:nowrap; }
.settings-menu li:hover { background:rgba(255,255,255,.08); color:#fff; }
.settings-menu li .label-text { display:flex; align-items:center; gap:6px; }
.settings-menu li .val { color:#de2600; }
.settings-menu li .setting-checkbox { width:13px; height:13px; border:1px solid #666; border-radius:2px; display:flex; align-items:center; justify-content:center; }
.settings-menu li .setting-checkbox.is-checked { background:#de2600; border-color:#de2600; }
.settings-menu li .setting-checkbox.is-checked::after { content:'\2713'; color:#fff; font-size:9px; font-weight:700; }
.settings-menu li.back-link .label-text::before { content:'\2190 '; }
.settings-menu.secondary { display:none; }
.settings-menu.secondary.open { display:block; }
.controls-hidden .top-top, .controls-hidden .buttons-bar, .controls-hidden .progress-bar-container { opacity:0 !important; }
.controls-hidden { cursor:none; }
@media (max-width: 991px) {
    .video-page { padding: 0; margin: 0; }
    .page-title { font-size: 15px; margin: 0 0 6px; }
    .page-title .video-hd-mark { font-size: 10px; padding: 1px 4px; margin-left: 5px; }
    .duration { font-size: 12px; margin-left: 6px; padding: 1px 5px; }
    #v-actions { flex-wrap: wrap; gap: 6px; }
    #v-actions .tab-button,
    #v-views,
    #v-views i,
    .vote-action-good, .vote-action-bad,
    .vote-action-good i, .vote-action-bad i {
        font-size: 12px;
    }
    #v-actions-left { flex-wrap: nowrap; gap: 4px; }
    .vote-actions { gap: 0; }
}

@media (max-width: 575px) {
    .video-page { padding-left: 5px; padding-right: 5px; }
    #v-actions { gap: 4px; padding: 2px 0; }
    #v-actions-left { gap: 4px; }
    #v-actions .tab-button,
    #v-views,
    #v-views i,
    .vote-action-good, .vote-action-bad,
    .vote-action-good i, .vote-action-bad i {
        font-size: 11px;
    }
    .tabs-right { gap: 2px; }
    .tabs-right .tab-button {
        flex-direction: column;
        align-items: center;
        gap: 1px;
        padding: 4px 6px;
        font-size: 10px;
        border-bottom: none;
    }
    .tabs-right .tab-button i { font-size: 14px; }
}

@media (max-width: 400px) {
    .video-page { padding-left: 5px; padding-right: 5px; }
    #v-actions { gap: 3px; padding: 2px 0; }
    #v-actions-left { gap: 3px; }
    #v-actions .tab-button,
    #v-views,
    #v-views i,
    .vote-action-good, .vote-action-bad,
    .vote-action-good i, .vote-action-bad i {
        font-size: 10px;
    }
    .tabs-right { gap: 2px; }
    .tabs-right .tab-button {
        flex-direction: column;
        align-items: center;
        gap: 1px;
        padding: 3px 4px;
        font-size: 9px;
        border-bottom: none;
    }
    .tabs-right .tab-button i { font-size: 12px; }
}

@media (max-width: 600px) {
    .related-videos-section .video-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .related-videos-section .video-grid .video-info .video-title { font-size: 12px; text-align: left; }
}

@media (max-width: 400px) {
    .related-videos-section .video-grid .video-info .video-title { font-size: 11px; -webkit-line-clamp: 2; }
}

@media (max-width: 1024px) {
    .video-row-1 { grid-template-columns: 1fr; }
    .video-row-right { display: none; }
    .ads-placeholder { width: 100%; }
    .ad-device-desktop { display: none; }
    .ad-device-mobile { display: block; width: 100%; }

    .big-button span { width:44px; height:44px; padding:7px; font-size:24px; }
    .buttons-bar { padding:4px 8px; }
    .buttons-bar span, .buttons-bar .ctrl-wrap { width:20px; height:20px; padding:6px 8px; font-size:14px; }
    .volume-bar { width:40px; margin:6px 3px; }
    .progress-text { padding:6px 8px; line-height:20px; font-size:11px; }
    .settings-menu { bottom:34px; right:8px; min-width:140px; font-size:11px; }
    .seek-thumb { width:92px; height:52px; }
    .progress-bar-container { bottom:34px; }
}
@media (max-width: 480px) {
    .big-button span { width:36px; height:36px; padding:5px; font-size:18px; }
    .buttons-bar { flex-wrap:nowrap; gap:0; padding:2px 4px; }
    .buttons-bar span, .buttons-bar .ctrl-wrap { min-width:28px; min-height:28px; padding:6px 8px; font-size:13px; }
    .volume-bar { width:30px; margin:4px 2px; }
    .volume-bar-fill, .volume-bar-track { height:3px; }
    .progress-text { font-size:10px; padding:4px 6px; line-height:18px; }
    .ctrl-download-btn { display:none; }
    .seek-thumb { width:69px; height:39px; }
    .seek-text { font-size:10px; }
    .progress-bar-container { bottom:30px; height:6px; }
    .progress-bar-container .cursor { transition:none; }
    .settings-menu { bottom:30px; right:4px; min-width:120px; font-size:10px; }
    .settings-menu li { padding:6px 10px; }
    #hlsplayer video { pointer-events:auto; }
    .big-buttons-center { gap:10px; }
}
@media (max-width: 480px) {
    .scr-modal { min-width:auto;max-width:88vw;padding:12px;border-radius:6px; }
    .scr-title { font-size:13px;margin-bottom:8px; }
    .scr-preview { margin-bottom:8px;max-height:40vh;border-radius:4px; }
    .scr-modal .xv-modal-actions { gap:4px; }
    .scr-modal .xv-modal-actions button { padding:5px 12px;font-size:11px; }
}
.tabs-right>.btn-save, .tabs-right>.btn-report { display: inline-flex !important; }


