/* =====================================================================
   VIDORA - theme (light + dark)
   ===================================================================== */
:root,
:root[data-theme="light"] {
    --bg: #f4f5f9;
    --surface: #ffffff;
    --text: #1d2030;
    --muted: #6d7284;
    --line: #e6e8ef;
    --accent: #ff3b5c;
    --accent2: #ff8a1f;
    --grad: linear-gradient(90deg, #ff3b5c, #ff8a1f);
    --header-bg: linear-gradient(90deg, #fde8ec 0%, #fff5f0 35%, #ffffff 75%);
    --nav-active-bg: #ffffff;
    --nav-active-text: #1d2030;
    --nav-text: #7a7f92;
    --search-bg: #ffffff;
    --pill-bg: var(--grad);
    --pill-text: #ffffff;
    --pill-border: transparent;
    --card-ring: linear-gradient(135deg, #ff3b5c, #ff8a1f);
    --card-glow: 0 10px 28px rgba(255, 59, 92, .22);
    --toggle-bg: linear-gradient(135deg, #ff3b5c, #ff8a1f);
    --toggle-ring: transparent;
    --shadow: 0 6px 22px rgba(30, 32, 48, .08);
    --card-bg: linear-gradient(#ffffff, #ffffff); --card-text: #1d2030; --stats-bg: #f3f4f9; --title-color: #1d2030;
}

:root[data-theme="dark"] {
    --bg: #0a0a10;
    --surface: #14141d;
    --text: #ffffff;
    --muted: #9b9fb4;
    --line: #23232f;
    --header-bg: #0a0a10;
    --nav-active-bg: #181822;
    --nav-active-text: #ffffff;
    --nav-text: #8d91a6;
    --search-bg: #121219;
    --pill-bg: #0a0a10;
    --pill-text: #ffffff;
    --pill-border: linear-gradient(120deg, #22f08a, #3b82f6 45%, #a855f7 75%, #ec4899);
    --card-ring: linear-gradient(135deg, #a855f7, #ef4444 22%, #f59e0b 42%, #22e07a 70%, #3b82f6);
    --card-glow: 0 0 24px rgba(80, 60, 255, .45);
    --toggle-bg: #0a0a10;
    --toggle-ring: linear-gradient(135deg, #22f08a, #3b82f6, #a855f7, #ec4899);
    --shadow: 0 6px 22px rgba(0, 0, 0, .5);
    --card-bg: linear-gradient(160deg, #1d19ee, #0a0a86); --card-text: #ffffff; --stats-bg: rgba(6, 6, 60, .75); --title-color: #ffe14a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    transition: background .25s, color .25s;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
.container { width: 100%; max-width: 1500px; margin: 0 auto; padding: 18px 24px 40px; }

/* ---------------- Header ---------------- */
.site-header {
    background: var(--header-bg);
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 95;
    backdrop-filter: blur(8px);
}
.bar { display: flex; align-items: center; gap: 14px; padding: 8px 18px 4px; max-width: 1900px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo-play {
    width: 0; height: 0;
    border-left: 17px solid #ff2d55;
    border-top: 10px solid transparent; border-bottom: 10px solid transparent;
    border-radius: 3px;
}
.logo-text { font-size: 19px; font-weight: 900; letter-spacing: 1px; }

.main-nav { display: flex; gap: 6px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
    padding: 5px 12px; border-radius: 999px; font-size: 12.5px; color: var(--nav-text);
    white-space: nowrap; transition: .2s;
}
.main-nav a:hover { color: var(--text); }
.main-nav a.active {
    background: var(--nav-active-bg); color: var(--nav-active-text);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

.search {
    display: flex; align-items: center; width: 100%; max-width: 360px;
    background: var(--search-bg); border: 1px solid var(--line);
    border-radius: 999px; padding: 2px 6px 2px 16px; box-shadow: var(--shadow);
}
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 12.5px; padding: 6px 0; }
.search input::placeholder { color: var(--muted); }
.search button { background: none; border: 0; font-size: 16px; padding: 4px 8px; }

.theme-toggle {
    width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; border: 2px solid transparent;
    background: linear-gradient(var(--toggle-bg), var(--toggle-bg)) padding-box,
                var(--toggle-ring, transparent) border-box;
    font-size: 15px; display: grid; place-items: center; color: #fff; padding: 0;
    box-shadow: 0 4px 16px rgba(255, 90, 60, .35);
}
.theme-toggle .ico-sun { display: none; }
:root[data-theme="dark"] .theme-toggle { box-shadow: 0 0 16px rgba(168, 85, 247, .45); }
:root[data-theme="dark"] .theme-toggle .ico-sun { display: inline; }
:root[data-theme="dark"] .theme-toggle .ico-moon { display: none; }

/* category pills */
.cat-row { display: flex; gap: 8px; padding: 6px 18px 10px; overflow-x: auto; scrollbar-width: none; max-width: 1900px; margin: 0 auto; }
.cat-row::-webkit-scrollbar { display: none; }
.cat-pill {
    display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
    padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
    color: var(--pill-text); background: var(--pill-bg); background-origin: border-box; border: 2px solid transparent;
    box-shadow: 0 3px 10px rgba(255, 90, 60, .22); transition: transform .2s, filter .2s;
}
.cat-pill .cat-ico { font-size: 13px; line-height: 1; }
.cat-pill:hover { transform: translateY(-2px); filter: brightness(1.06); }
:root[data-theme="dark"] .cat-pill {
    background: linear-gradient(var(--pill-bg), var(--pill-bg)) padding-box, var(--pill-border) border-box;
    box-shadow: none;
}
:root[data-theme="dark"] .cat-pill:hover { box-shadow: 0 0 14px rgba(168, 85, 247, .5); }
.cat-pill.active { outline: 3px solid rgba(255, 255, 255, .55); outline-offset: 1px; }
:root[data-theme="dark"] .cat-pill.active { background: linear-gradient(#1b1b2a, #1b1b2a) padding-box, var(--pill-border) border-box; outline: 0; box-shadow: 0 0 16px rgba(168, 85, 247, .6); }

/* ---------------- Offer banner ---------------- */
.offer {
    position: relative; background: linear-gradient(90deg, #ff3b6b, #ff8a1f);
    color: #fff; padding: 8px 56px 8px 16px;
}
.offer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }
.offer-text { font-size: 13px; font-weight: 800; }
.offer-timer { display: inline-flex; align-items: center; gap: 6px; }
.offer-timer b { background: rgba(120, 40, 10, .55); padding: 2px 7px; border-radius: 6px; font-size: 13px; min-width: 30px; text-align: center; }
.offer-timer i { font-style: normal; opacity: .85; margin-right: 6px; }
.offer-btn { background: #fff; color: #c2185b; font-weight: 800; padding: 6px 14px; border-radius: 999px; font-size: 12px; }
.offer-close {
    position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
    width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(120, 40, 10, .45); color: #fff; font-size: 14px;
}

/* ---------------- Sections / grid ---------------- */
.block { margin-bottom: 38px; }
.block-head { display: flex; align-items: center; justify-content: space-between; margin: 10px 0 18px; gap: 12px; }
.block-head h2 { margin: 0; font-size: 19px; display: flex; align-items: center; gap: 12px; }
.count { font-size: 15px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.tag-new { background: #1d73e8; color: #fff; font-size: 11px; font-weight: 800; padding: 6px 7px; border-radius: 5px; }
.tag-ico { font-size: 26px; }
.see-all { color: var(--accent); font-weight: 700; white-space: nowrap; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }

/* video card: thumbnail -> title -> views / likes / comments / shares panel */
.vcard {
    position: relative; display: flex; flex-direction: column; gap: 12px; padding: 12px;
    border-radius: 24px; border: 3px solid transparent;
    background: var(--card-bg) padding-box, var(--card-ring) border-box;
    box-shadow: var(--card-glow); transition: transform .25s;
}
.vcard:hover { transform: translateY(-4px); }
.vthumb { position: relative; display: block; overflow: hidden; border-radius: 14px; background: #111; aspect-ratio: 16 / 11; border-bottom: 3px solid #22e07a; }
.vthumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.vcard:hover .vthumb img { transform: scale(1.04); }
.badge { position: absolute; top: 9px; left: 10px; z-index: 3; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; color: #fff; letter-spacing: .3px; }
.badge-free { background: #16a34a; }
.badge-premium { background: linear-gradient(90deg, #f59e0b, #ef4444); }
.watch-meta .badge { position: static; font-size: 12px; padding: 4px 12px; }

.vplay { display: none !important;
    position: absolute; z-index: 3; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px;
    border-radius: 50%; background: rgba(28, 28, 28, .75); border: 2px solid rgba(255, 255, 255, .8);
    box-shadow: 0 0 0 7px rgba(255, 255, 255, .12);
}
.vplay::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }

.vtitle {
    padding: 2px 4px; font-size: 16px; font-weight: 800; line-height: 1.35; min-height: 2.7em; color: var(--title-color);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vstats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 8px 4px; margin-top: auto; border-radius: 14px;
    background: var(--stats-bg); color: var(--card-text);
}
.st { display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; column-gap: 5px; row-gap: 2px; font-size: 13px; font-weight: 700; padding: 4px 2px; border-radius: 10px; background: none; border: 0; color: inherit; font-family: inherit; min-width: 0; text-decoration: none; }
.st b { font-weight: 800; line-height: 1; }
.st svg { justify-self: end; }
.st small { grid-column: 1 / -1; text-align: center; }
.st small { font-size: 10.5px; font-weight: 600; opacity: .7; }
.st .ic-eye { color: #22c55e; width: 17px; height: 17px; }
.st .ic-cmt { color: #38bdf8; width: 17px; height: 17px; }
.st .ic-share { color: #fbbf24; width: 17px; height: 17px; }
.share-btn { cursor: pointer; } .share-btn:hover { background: rgba(251, 191, 36, .14); } .share-btn.copied small::after { content: ' ✓'; }
.st .ic-heart { color: #ff3b5c; width: 17px; height: 17px; transition: transform .2s; }
.like-btn { cursor: pointer; }
.like-btn:hover { background: rgba(255, 59, 92, .12); }
.like-btn.liked .ic-heart { filter: drop-shadow(0 0 5px rgba(255, 59, 92, .8)); }
.like-btn:not(.liked) .ic-heart { opacity: .55; }
.like-btn.pop .ic-heart { animation: pop .35s; }
@keyframes pop { 40% { transform: scale(1.5); } }
.like-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line); color: var(--text); padding: 5px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; font-family: inherit; }
.like-pill small { font-weight: 500; color: var(--muted); font-size: 13px; }


/* pager */
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 34px; }
.pager a { padding: 10px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; }
.pager a.active { background: var(--grad); color: #fff; border-color: transparent; }

.empty { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty-ico { font-size: 64px; }
.empty a { color: var(--accent); font-weight: 700; }

/* ad slots */
.ad-slot { display: flex; justify-content: center; align-items: center; margin: 18px auto; text-align: center; max-width: 100%; overflow: hidden; }

/* footer */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); text-align: center; font-size: 14px; }
.site-footer .container { padding: 22px 24px; }

/* telegram floating button */
.tg-float {
    position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 50px; height: 50px; border-radius: 50%;
    background: linear-gradient(135deg, #2aabee, #229ed9); display: grid; place-items: center;
    box-shadow: 0 8px 24px rgba(34, 158, 217, .5); transition: transform .2s;
}
.tg-float:hover { transform: scale(1.08); }
.tg-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(34, 158, 217, .6); animation: tgPulse 2s infinite; }
@keyframes tgPulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------------- Watch page ---------------- */
.watch { max-width: 1100px; margin: 0 auto 36px; }
.watch-info h1 { font-size: 28px; margin: 18px 0 10px; }
.watch-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; color: var(--muted); font-size: 15px; }
.watch-meta span { display: inline-flex; align-items: center; gap: 6px; }
.chip { background: var(--surface); border: 1px solid var(--line); padding: 5px 14px; border-radius: 999px; color: var(--text); font-weight: 600; }
.watch-desc { margin-top: 14px; color: var(--muted); font-size: 16px; }

/* ---------------- Premium player ---------------- */
.vplayer {
    position: relative; margin: 0 auto; background: #000; overflow: hidden; border-radius: 22px;
    border: 3px solid transparent;
    background: linear-gradient(#000, #000) padding-box, var(--card-ring) border-box;
    box-shadow: var(--card-glow); user-select: none; -webkit-user-select: none;
}
.vplayer.is-landscape { aspect-ratio: 16 / 9; width: 100%; }
.vplayer.is-portrait  { aspect-ratio: 9 / 16; width: min(100%, 440px, calc(82vh * 9 / 16)); }
.vplayer:fullscreen { border-radius: 0; border: 0; width: 100vw; height: 100vh; aspect-ratio: auto; background: #000; }
.vplayer video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }

.vp-gate { position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; background: #000; }
.vp-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vp-poster.blur { filter: blur(18px) brightness(.55); transform: scale(1.1); }
.vp-gate-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .75), rgba(0, 0, 0, .15) 55%, rgba(0, 0, 0, .35)); }
.vp-gate-title { position: absolute; left: 18px; right: 18px; bottom: 16px; color: #fff; font-weight: 800; font-size: 20px; text-shadow: 0 2px 8px #000; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.vp-bigplay { position: relative; z-index: 2; width: 96px; height: 96px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .85); background: var(--grad); box-shadow: 0 0 0 12px rgba(255, 70, 90, .2), 0 10px 30px rgba(0, 0, 0, .5); transition: transform .2s; }
.vp-bigplay:hover { transform: scale(1.08); }
.vp-bigplay span, .vp-center span { position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border-left: 28px solid #fff; border-top: 17px solid transparent; border-bottom: 17px solid transparent; }

/* ad countdown shown ON TOP of the player */
.vp-count { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; color: #fff; background: rgba(0, 0, 0, .72); backdrop-filter: blur(4px); padding: 20px; }
.vp-count[hidden] { display: none; }
.vp-count p { margin: 0; font-size: 17px; line-height: 1.5; }
.vp-count strong { color: #ffb347; font-size: 20px; }
.vp-ring { position: relative; width: 118px; height: 118px; }
.vp-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.vp-ring circle { fill: none; stroke-width: 7; }
.ring-bg { stroke: rgba(255, 255, 255, .18); }
.ring-fg { stroke: #ff6a3d; stroke-linecap: round; stroke-dasharray: 276.46; stroke-dashoffset: 0; transition: stroke-dashoffset 1s linear; }
.vp-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 40px; font-weight: 900; }
.vp-reopen { font-size: 14px; color: #ffd08a; text-decoration: underline; margin-top: 4px; }

.vp-center { position: absolute; z-index: 6; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .8); background: rgba(0, 0, 0, .55); }
.vp-center[hidden], .vp-spinner[hidden], .vp-toast[hidden], .vp-error[hidden], .vp-controls[hidden] { display: none; }
.vp-spinner { position: absolute; z-index: 6; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; border: 5px solid rgba(255, 255, 255, .25); border-top-color: #ff6a3d; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.vp-toast { position: absolute; z-index: 7; top: 16px; left: 50%; transform: translateX(-50%); background: rgba(0, 0, 0, .7); color: #fff; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.vp-error { position: absolute; z-index: 9; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; background: rgba(0, 0, 0, .85); color: #fff; font-size: 16px; }

.vp-controls { position: absolute; z-index: 8; left: 0; right: 0; bottom: 0; padding: 26px 12px 8px; background: linear-gradient(to top, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0)); color: #fff; transition: opacity .3s; }
.vplayer.idle .vp-controls { opacity: 0; pointer-events: none; }
.vplayer.idle { cursor: none; }
.vp-progress { position: relative; height: 18px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.vp-progress::before { content: ""; position: absolute; left: 0; right: 0; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .25); transition: height .15s; }
.vp-progress:hover::before { height: 7px; }
.vp-buf, .vp-played { position: absolute; left: 0; height: 5px; border-radius: 5px; width: 0; pointer-events: none; }
.vp-buf { background: rgba(255, 255, 255, .4); }
.vp-played { background: var(--grad); }
.vp-knob { position: absolute; left: 0; width: 15px; height: 15px; margin-left: -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px rgba(0, 0, 0, .6); pointer-events: none; transform: scale(0); transition: transform .15s; }
.vp-progress:hover .vp-knob, .vplayer.seeking .vp-knob { transform: scale(1); }

.vp-row { display: flex; align-items: center; gap: 4px; }
.vp-row button { background: none; border: 0; color: #fff; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; padding: 0; }
.vp-row button:hover { background: rgba(255, 255, 255, .15); }
.vp-row svg { width: 26px; height: 26px; fill: #fff; }
.vp-row .vp-txt { width: auto; padding: 0 12px; font-weight: 800; font-size: 15px; }
.vp-grow { flex: 1; }
.vp-time { font-size: 13px; margin-left: 6px; white-space: nowrap; opacity: .95; }
#vpPlay .i-pause, .vplayer.playing #vpPlay .i-play { display: none; }
.vplayer.playing #vpPlay .i-pause { display: inline; }
#vpMute .i-muted, .vplayer.muted #vpMute .i-vol { display: none; }
.vplayer.muted #vpMute .i-muted { display: inline; }
.vp-vol { display: flex; align-items: center; }
.vp-vol input { width: 0; opacity: 0; transition: width .2s, opacity .2s; accent-color: #ff6a3d; }
.vp-vol:hover input, .vp-vol:focus-within input { width: 80px; opacity: 1; margin-right: 6px; }
.vp-speedwrap { position: relative; }
.vp-menu { position: absolute; right: 0; bottom: 46px; background: rgba(20, 20, 28, .95); border-radius: 12px; padding: 6px; display: flex; flex-direction: column; min-width: 80px; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); }
.vp-menu[hidden] { display: none; }
.vp-menu button { width: 100%; height: 36px; font-size: 14px; font-weight: 700; }
.vp-menu button.on { background: var(--grad); }

/* locked premium box */
.lock-box { display: grid; place-items: center; }
.lock-panel { position: relative; z-index: 3; text-align: center; color: #fff; padding: 24px; width: 100%; max-width: 380px; }
.lock-ico { font-size: 50px; }
.lock-panel h3 { margin: 6px 0; font-size: 26px; }
.lock-panel p { margin: 6px 0 16px; opacity: .9; }
.lock-panel form { display: flex; gap: 8px; margin-bottom: 12px; }
.lock-panel input { flex: 1; min-width: 0; padding: 13px 14px; border-radius: 12px; border: 0; font-size: 16px; text-transform: uppercase; text-align: center; letter-spacing: 1px; }
.btn-grad { background: var(--grad); color: #fff; border: 0; border-radius: 12px; padding: 0 20px; font-weight: 800; }
.btn-ghost { display: inline-block; margin-top: 4px; padding: 11px 20px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, .7); font-weight: 700; }
.lock-msg { font-weight: 700; color: #ffd08a; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1050px) {
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bar { flex-wrap: wrap; }
    .main-nav { order: 3; flex-basis: 100%; }
    .search { order: 2; flex: 1; max-width: none; }
    .theme-toggle { order: 2; }
    .logo { order: 1; margin-right: auto; }
}
@media (max-width: 700px) {
    .container { padding: 14px 12px 36px; }
    .bar { padding: 10px 12px 4px; gap: 10px; }
    .logo-text { font-size: 20px; }
    .logo-play { border-left-width: 15px; border-top-width: 9px; border-bottom-width: 9px; }
    .main-nav a { font-size: 13px; padding: 6px 11px; }
    .search { order: 4; flex-basis: 100%; }
    .search input { font-size: 16px; }
    .theme-toggle { width: 34px; height: 34px; font-size: 16px; }
    .cat-row { padding: 6px 12px 12px; gap: 8px; }
    .cat-pill { font-size: 13px; padding: 5px 12px; }
    .cat-pill .cat-ico { font-size: 14px; }
    .offer { padding: 8px 44px 8px 10px; }
    .offer-text { font-size: 13px; }
    .offer-timer b { font-size: 13px; padding: 3px 6px; min-width: 28px; }
    .offer-btn { font-size: 12px; padding: 5px 12px; }
    .offer-close { width: 28px; height: 28px; right: 8px; font-size: 13px; }
    .block-head h2 { font-size: 18px; }
    .grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .vcard { border-radius: 16px; border-width: 2px; padding: 6px 6px 8px; gap: 8px; }
    .vthumb { border-radius: 11px; }
    .vstats .st .ic-eye, .vstats .st .ic-heart, .vstats .st .ic-cmt, .vstats .st .ic-share { width: 13px; height: 13px; }
    .vtitle { font-size: 13px; padding: 0 2px; }
    .vstats { padding: 6px 2px; gap: 0; }
    .st { font-size: 11px; } .st small { font-size: 9px; }
    .badge { font-size: 10px; padding: 3px 8px; top: 6px; left: 7px; }
    .vplay { width: 42px; height: 42px; margin: -21px 0 0 -21px; }
    .vplay::before { border-left-width: 12px; border-top-width: 8px; border-bottom-width: 8px; }
    .tg-float { width: 46px; height: 46px; right: 12px; bottom: 12px; }
    .watch-info h1 { font-size: 21px; }
    .vp-time { font-size: 11px; }
    .vp-row button { width: 34px; height: 34px; }
    .vp-row svg { width: 22px; height: 22px; }
    .vp-vol input { display: none; }
    #vpPip { display: none; }
}

.vp-embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 4; background: #000; }

/* the HTML hidden attribute must always win over display rules (fixes start screen staying on top of the video) */
.vplayer [hidden] { display: none !important; }
.vplayer { z-index: 85; }   /* player controls stay above the floating Telegram button (z 80), header stays above the player */
