.tyc-wrap{max-width:var(--tyc-max);margin:30px auto;position:relative;background:var(--tyc-bg);color:var(--tyc-text);border-radius:22px;padding:28px;box-shadow:0 20px 55px rgba(0,0,0,.18);overflow:hidden}.tyc-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.tyc-head h2{margin:0;color:var(--tyc-accent);font-size:30px;line-height:1}.tyc-head p{margin:7px 0 0;font-weight:700;opacity:.9}.tyc-dots span{display:inline-block;width:8px;height:8px;background:#39f;border-radius:50%;margin:3px}.tyc-track{display:grid;grid-template-columns:repeat(var(--tyc-cols),minmax(0,1fr));gap:22px}.tyc-layout-carousel .tyc-track{display:flex;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none}.tyc-layout-carousel .tyc-card{min-width:270px}.tyc-card{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-radius:16px;overflow:hidden;transition:.25s;position:relative}.tyc-card:hover{transform:translateY(-6px) scale(1.015);box-shadow:0 18px 40px rgba(0,0,0,.35)}.tyc-thumb{position:relative;aspect-ratio:16/9;background:#111;overflow:hidden}.tyc-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:.3s}.tyc-card:hover img{transform:scale(1.06)}.tyc-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:52px;height:52px;border-radius:50%;background:var(--tyc-brand);display:flex;align-items:center;justify-content:center;color:white;font-weight:900;box-shadow:0 8px 25px rgba(0,0,0,.35)}.tyc-duration,.tyc-live,.tyc-cat{position:absolute;border-radius:5px;padding:5px 8px;font-size:12px;font-weight:900}.tyc-duration{right:8px;bottom:8px;background:rgba(0,0,0,.82);color:#fff}.tyc-live{left:8px;top:8px;background:#f00;color:#fff}.tyc-cat{right:8px;top:8px;background:var(--tyc-accent);color:#111}.tyc-body{padding:16px}.tyc-body h3{font-size:17px;line-height:1.25;margin:0 0 12px;color:var(--tyc-text);font-weight:900}.tyc-desc{opacity:.85;margin:0 0 10px}.tyc-meta{display:flex;flex-wrap:wrap;gap:10px;font-size:12px;opacity:.8;font-weight:700;margin:8px 0 15px}.tyc-btn{display:inline-block;background:var(--tyc-brand);color:#fff!important;text-decoration:none;border-radius:30px;padding:10px 16px;font-weight:900}.tyc-nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;border:0;background:var(--tyc-accent);color:#111;font-size:32px;font-weight:bold;z-index:3;cursor:pointer}.tyc-prev{left:10px}.tyc-next{right:10px}.tyc-featured{margin-bottom:24px}.tyc-featured .tyc-card{display:grid;grid-template-columns:1.45fr 1fr;align-items:stretch}.tyc-featured-small .tyc-card{grid-template-columns:1fr 1fr}.tyc-featured-large .tyc-body h3{font-size:30px}.tyc-featured .tyc-thumb{height:100%;aspect-ratio:auto}.tyc-size-small .tyc-card{font-size:12px}.tyc-size-small .tyc-body{padding:10px}.tyc-size-small .tyc-body h3{font-size:13px}.tyc-size-small .tyc-play{width:38px;height:38px}.tyc-size-large .tyc-body h3{font-size:21px}.tyc-layout-sidebar{padding:18px}.tyc-layout-sidebar .tyc-track{display:block}.tyc-layout-sidebar .tyc-card{display:grid;grid-template-columns:120px 1fr;margin-bottom:12px}.tyc-layout-sidebar .tyc-thumb{height:75px}.tyc-layout-sidebar .tyc-btn,.tyc-layout-sidebar .tyc-desc{display:none}.tyc-clean_white{--tyc-bg:#fff!important;--tyc-text:#111!important;border:1px solid #eee}.tyc-youtube_red{--tyc-brand:#ff0000!important}.tyc-sports{background:linear-gradient(135deg,#042015,#061b34)!important}.tyc-minimal{background:transparent!important;box-shadow:none!important;color:#111!important}.tyc-glass{backdrop-filter:blur(12px);background:rgba(8,18,33,.75)!important}.tyc-modal{display:none;position:fixed;z-index:99999;inset:0;background:rgba(0,0,0,.85);align-items:center;justify-content:center;padding:20px}.tyc-modal.open{display:flex}.tyc-modal-box{position:relative;width:min(980px,96vw);aspect-ratio:16/9;background:#000}.tyc-player-small .tyc-modal-box{width:min(560px,96vw)}.tyc-player-large .tyc-modal-box{width:min(1180px,98vw)}.tyc-player-fullscreen .tyc-modal-box{width:98vw}.tyc-modal iframe{width:100%;height:100%;border:0}.tyc-close{position:absolute;right:-12px;top:-45px;background:#fff;border:0;border-radius:50%;width:36px;height:36px;font-size:24px;cursor:pointer}.tyc-ai{border-left:3px solid var(--tyc-accent);padding-left:8px;font-size:12px;opacity:.9}@media(max-width:900px){.tyc-track{grid-template-columns:repeat(2,1fr)}.tyc-featured .tyc-card{display:block}.tyc-featured .tyc-thumb{aspect-ratio:16/9}.tyc-featured-large .tyc-body h3{font-size:22px}}@media(max-width:600px){.tyc-wrap{padding:18px;border-radius:16px}.tyc-track{grid-template-columns:1fr}.tyc-layout-carousel .tyc-card{min-width:82vw}.tyc-head h2{font-size:24px}.tyc-nav{display:none}}

/* v2.1 Latest Video Widget Styles */
.tyc-widget{background:var(--tyc-bg);color:var(--tyc-text);border-radius:16px;padding:14px;box-shadow:0 12px 30px rgba(0,0,0,.12);overflow:hidden}
.tyc-widget-title{margin:0 0 12px;font-size:18px;line-height:1.2;color:var(--tyc-accent)}
.tyc-widget .tyc-card{min-width:0;width:100%;margin:0;border-radius:14px;background:rgba(255,255,255,.08)}
.tyc-widget .tyc-thumb{border-radius:12px;overflow:hidden}
.tyc-widget .tyc-body{padding:10px}
.tyc-widget .tyc-body h3{font-size:14px;line-height:1.25;margin:0 0 8px}
.tyc-widget .tyc-meta{font-size:12px;gap:8px;opacity:.85}
.tyc-widget .tyc-btn{font-size:12px;padding:8px 12px;margin-top:8px}
.tyc-widget-list .tyc-card{display:grid;grid-template-columns:110px 1fr;gap:10px;align-items:start;background:transparent;box-shadow:none;border:0}
.tyc-widget-list .tyc-thumb{height:70px}.tyc-widget-list .tyc-thumb img{height:70px;object-fit:cover}
.tyc-widget-list .tyc-body{padding:0}.tyc-widget-list .tyc-cat,.tyc-widget-list .tyc-duration{display:none}
.tyc-widget-mini_card{padding:10px}.tyc-widget-mini_card .tyc-body h3{font-size:13px}.tyc-widget-mini_card .tyc-meta,.tyc-widget-mini_card .tyc-desc{display:none}
.tyc-widget-image_only{padding:0;background:transparent;box-shadow:none}.tyc-widget-image_only .tyc-widget-title,.tyc-widget-image_only .tyc-body,.tyc-widget-image_only .tyc-cat,.tyc-widget-image_only .tyc-duration{display:none}.tyc-widget-image_only .tyc-card{background:transparent;border:0;box-shadow:none}.tyc-widget-image_only .tyc-thumb{border-radius:14px}


/* v2.2 Template: Overlay Strip like screenshot */
.tyc-overlay_strip{background:transparent!important;box-shadow:none!important;border-radius:0!important;padding:0!important;overflow:visible!important}
.tyc-overlay_strip .tyc-head{margin:0 0 10px;padding-left:0;display:flex;align-items:end;gap:12px}
.tyc-overlay_strip .tyc-head h2,.tyc-overlay_strip .tyc-head p{display:none}
.tyc-overlay_strip .tyc-dots{display:block;height:7px;min-width:75px;position:relative}
.tyc-overlay_strip .tyc-dots span{width:26px;height:6px;border-radius:20px;background:var(--tyc-accent);margin:0 3px 0 0;opacity:1}
.tyc-overlay_strip .tyc-track{gap:14px;align-items:stretch;padding:0 2px 6px}
.tyc-overlay_strip.tyc-layout-carousel .tyc-card{min-width:280px;max-width:280px}
.tyc-overlay_strip .tyc-card{border:0;background:#111;border-radius:12px;overflow:hidden;box-shadow:none;min-height:124px}
.tyc-overlay_strip .tyc-card:hover{transform:translateY(-3px) scale(1.02);box-shadow:0 12px 30px rgba(0,0,0,.32)}
.tyc-overlay_strip .tyc-thumb{aspect-ratio:16/9;border-radius:12px;overflow:hidden}
.tyc-overlay_strip .tyc-thumb:after{content:"";position:absolute;left:0;right:0;bottom:0;height:70%;background:linear-gradient(to top,rgba(0,0,0,.82),rgba(0,0,0,.28),transparent);z-index:1}
.tyc-overlay_strip .tyc-body{position:absolute;left:0;right:48px;bottom:0;z-index:2;padding:0 10px 9px;background:transparent!important}
.tyc-overlay_strip .tyc-body h3{font-size:14px;line-height:1.14;margin:0;color:#fff;font-weight:900;text-shadow:0 2px 8px rgba(0,0,0,.9);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tyc-overlay_strip .tyc-desc,.tyc-overlay_strip .tyc-meta,.tyc-overlay_strip .tyc-btn,.tyc-overlay_strip .tyc-cat,.tyc-overlay_strip .tyc-duration{display:none!important}
.tyc-overlay_strip .tyc-play{left:auto;right:11px;top:auto;bottom:16px;transform:none;width:34px;height:34px;border:2px solid #fff;background:rgba(0,0,0,.25);color:#fff;font-size:13px;z-index:3;backdrop-filter:blur(3px)}
.tyc-overlay_strip .tyc-live{z-index:3;font-size:10px;padding:4px 6px;border-radius:4px}
.tyc-overlay_strip .tyc-nav{width:32px;height:32px;font-size:24px;background:var(--tyc-accent);box-shadow:0 8px 20px rgba(0,0,0,.28)}
.tyc-overlay_strip .tyc-prev{left:-14px}.tyc-overlay_strip .tyc-next{right:-14px}
.tyc-overlay_strip .tyc-featured{display:none!important}
.tyc-overlay_strip.tyc-size-small .tyc-card,.tyc-overlay_strip.tyc-size-small.tyc-layout-carousel .tyc-card{min-width:220px;max-width:220px}.tyc-overlay_strip.tyc-size-small .tyc-body h3{font-size:12px}.tyc-overlay_strip.tyc-size-small .tyc-play{width:28px;height:28px;bottom:12px;right:9px}
.tyc-overlay_strip.tyc-size-large .tyc-card,.tyc-overlay_strip.tyc-size-large.tyc-layout-carousel .tyc-card{min-width:340px;max-width:340px}.tyc-overlay_strip.tyc-size-large .tyc-body h3{font-size:16px}.tyc-overlay_strip.tyc-size-large .tyc-play{width:40px;height:40px}

/* Extra compact overlay templates for resale/theme packs */
.tyc-compact_overlay{background:transparent!important;box-shadow:none!important;padding:0!important}.tyc-compact_overlay .tyc-head{display:none}.tyc-compact_overlay .tyc-card{border-radius:10px;border:0;overflow:hidden}.tyc-compact_overlay .tyc-body{position:absolute;left:0;right:0;bottom:0;background:linear-gradient(to top,rgba(0,0,0,.85),transparent);padding:35px 10px 9px}.tyc-compact_overlay .tyc-body h3{font-size:13px;margin:0;color:#fff}.tyc-compact_overlay .tyc-meta,.tyc-compact_overlay .tyc-desc,.tyc-compact_overlay .tyc-btn{display:none!important}.tyc-compact_overlay .tyc-play{left:auto;right:10px;top:10px;transform:none;width:30px;height:30px;background:rgba(0,0,0,.35);border:2px solid #fff}
.tyc-tv_strip{background:#061223!important;border-radius:16px!important;padding:18px!important}.tyc-tv_strip .tyc-card{border-radius:12px;background:#111;border:0}.tyc-tv_strip .tyc-body{position:absolute;bottom:0;left:0;right:0;padding:45px 12px 12px;background:linear-gradient(to top,rgba(0,0,0,.9),transparent)}.tyc-tv_strip .tyc-body h3{font-size:15px;color:#fff;margin:0}.tyc-tv_strip .tyc-meta,.tyc-tv_strip .tyc-desc,.tyc-tv_strip .tyc-btn{display:none!important}.tyc-tv_strip .tyc-play{left:auto;right:12px;top:50%;transform:translateY(-50%);background:rgba(0,0,0,.35);border:2px solid white}
@media(max-width:600px){.tyc-overlay_strip.tyc-layout-carousel .tyc-card{min-width:76vw;max-width:76vw}.tyc-overlay_strip .tyc-body h3{font-size:13px}}

/* Main Video Feed Builder Admin Preview */
.tyc-builder-grid{
    display:grid;
    grid-template-columns:minmax(320px,520px) minmax(420px,1fr);
    gap:24px;
    align-items:start;
}

.tyc-builder-preview{
    background:#f6f7f7;
    border:1px solid #dcdcde;
    border-radius:14px;
    padding:18px;
    position:sticky;
    top:36px;
}

.tyc-device-buttons{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin:10px 0 15px;
}

.tyc-device-buttons button{
    border:1px solid #c3c4c7;
    background:#fff;
    padding:7px 12px;
    border-radius:6px;
    cursor:pointer;
    font-weight:700;
}

.tyc-device-buttons button.active{
    background:#06101f;
    color:#fff;
    border-color:#06101f;
}

.tyc-main-preview-frame{
    background:#fff;
    border:1px solid #dcdcde;
    border-radius:12px;
    padding:14px;
    overflow:hidden;
    transition:all .25s ease;
}

.tyc-main-preview-frame.desktop{max-width:100%}
.tyc-main-preview-frame.tablet{max-width:760px}
.tyc-main-preview-frame.mobile{max-width:390px}
.tyc-main-preview-frame.sidebar{max-width:330px}

.tyc-modern_news{
    background:#06101f!important;
    border-radius:18px!important;
    padding:24px!important;
}

.tyc-modern_news .tyc-card{
    border-radius:16px!important;
    overflow:hidden;
}

.tyc-netflix_feed{
    background:#050505!important;
    border-radius:8px!important;
    padding:24px!important;
}

.tyc-netflix_feed .tyc-card{
    border-radius:8px!important;
    transition:transform .25s ease;
}

.tyc-netflix_feed .tyc-card:hover{
    transform:scale(1.04);
}

.tyc-broadcast_tv{
    background:linear-gradient(135deg,#07111f,#18243a)!important;
    border:2px solid rgba(255,255,255,.12)!important;
    border-radius:18px!important;
    padding:24px!important;
}

.tyc-magazine{
    background:#fff!important;
    color:#111!important;
    border:1px solid #e5e5e5!important;
    border-radius:14px!important;
    padding:24px!important;
}

.tyc-breaking{
    background:#130000!important;
    border:3px solid #e50914!important;
    border-radius:18px!important;
    padding:24px!important;
}

.tyc-breaking .tyc-head:before{
    content:"BREAKING NEWS";
    display:inline-block;
    background:#e50914;
    color:#fff;
    font-weight:900;
    padding:8px 12px;
    border-radius:6px;
    margin-bottom:10px;
}

@media(max-width:1100px){
    .tyc-builder-grid{
        grid-template-columns:1fr;
    }
    .tyc-builder-preview{
        position:relative;
        top:auto;
    }
}
