.youtube-home{margin:18px 0 22px;padding:22px;border-radius:24px;background:linear-gradient(135deg,#20138f 0%,#3423bb 62%,#4b2bd7 100%);color:#fff;box-shadow:0 14px 34px rgba(36,22,154,.16)}
.youtube-home[hidden]{display:none!important}
.youtube-home-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:16px}
.youtube-home-head small{display:block;margin-bottom:4px;color:#b8ff00;font-size:.72rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.youtube-home-head h2{margin:0;font-size:clamp(1.45rem,2.6vw,2.25rem);line-height:1.05}
.youtube-channel-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border-radius:999px;background:#b8ff00;color:#24169a;font-weight:900;text-decoration:none;white-space:nowrap}
.youtube-channel-link svg{width:20px;height:20px;fill:currentColor}
.youtube-video-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.youtube-video-card{min-width:0;padding:8px 8px 12px;border:1px solid rgba(255,255,255,.16);border-radius:16px;background:rgba(255,255,255,.1);color:#fff;text-decoration:none;transition:transform .18s ease,background .18s ease}
.youtube-video-card:hover{transform:translateY(-3px);background:rgba(255,255,255,.16)}
.youtube-video-thumb{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;border-radius:11px;background:#130b66}
.youtube-video-thumb img{width:100%;height:100%;object-fit:cover}
.youtube-video-thumb i{position:absolute;inset:50% auto auto 50%;display:grid;width:44px;height:44px;place-items:center;border-radius:50%;background:#ff0033;box-shadow:0 8px 24px rgba(0,0,0,.28);transform:translate(-50%,-50%)}
.youtube-video-thumb svg{width:27px;height:27px;fill:#fff}
.youtube-video-card>strong{display:-webkit-box;overflow:hidden;margin:10px 3px 4px;font-size:.9rem;line-height:1.25;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.youtube-video-card>span:last-child{margin:0 3px;color:#b8ff00;font-size:.75rem;font-weight:900}
@media(max-width:900px){.youtube-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.youtube-home{margin:12px 10px 18px;padding:16px 12px;border-radius:20px}.youtube-home-head{align-items:center;margin-bottom:12px}.youtube-home-head h2{font-size:1.35rem}.youtube-channel-link{min-height:40px;padding:0 13px;font-size:.8rem}.youtube-video-grid{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:3px;scrollbar-width:none}.youtube-video-grid::-webkit-scrollbar{display:none}.youtube-video-card{flex:0 0 76%;scroll-snap-align:start}.youtube-video-card>strong{font-size:.88rem}}
@media(max-width:380px){.youtube-home-head{align-items:flex-start;flex-direction:column}.youtube-video-card{flex-basis:84%}}

.youtube-promo{margin:0 0 18px}
.youtube-promo-button{display:grid;grid-template-columns:230px minmax(0,1fr) auto;align-items:center;gap:22px;min-height:154px;padding:18px 24px;border-radius:24px;background:linear-gradient(120deg,#130909 0%,#2a1010 48%,#760b12 100%);color:#fff;text-decoration:none;overflow:hidden;box-shadow:0 14px 34px rgba(70,0,8,.2);transition:transform .18s ease,box-shadow .18s ease}
.youtube-promo-button:hover{transform:translateY(-2px);box-shadow:0 19px 38px rgba(70,0,8,.28)}
.youtube-promo-visual{display:grid;place-items:center;height:118px}
.youtube-screen-art{position:relative;display:block;width:210px;height:118px;border:4px solid rgba(255,255,255,.92);border-radius:18px;background:linear-gradient(145deg,#ff0033 0%,#d50020 55%,#8f0014 100%);box-shadow:0 13px 28px rgba(0,0,0,.35);transform:rotate(-2deg)}
.youtube-screen-art:before,.youtube-screen-art:after{content:"";position:absolute;border-radius:999px;background:rgba(255,255,255,.22)}
.youtube-screen-art:before{width:54px;height:7px;right:14px;top:15px}
.youtube-screen-art:after{width:82px;height:6px;left:15px;bottom:14px}
.youtube-screen-art>i{position:absolute;inset:14px;border:1px solid rgba(255,255,255,.2);border-radius:11px}
.youtube-screen-art>b{position:absolute;left:50%;top:50%;display:grid;width:58px;height:42px;place-items:center;border-radius:13px;background:#fff;box-shadow:0 8px 20px rgba(0,0,0,.24);transform:translate(-50%,-50%)}
.youtube-screen-art svg{width:30px;height:30px;fill:#ff0033}
.youtube-promo-copy small{display:block;margin-bottom:5px;color:#ff687d;font-size:.73rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.youtube-promo-copy strong{display:block;margin-bottom:6px;font-size:clamp(1.55rem,3vw,2.55rem);line-height:1}
.youtube-promo-copy>span{display:block;max-width:610px;color:rgba(255,255,255,.78);font-size:.94rem;line-height:1.35}
.youtube-promo-cta{display:flex;align-items:center;gap:9px;min-height:48px;padding:0 17px;border-radius:999px;background:#ff0033;color:#fff;white-space:nowrap;box-shadow:0 8px 22px rgba(255,0,51,.28)}
.youtube-promo-cta svg{width:24px;height:24px;fill:#fff}.youtube-promo-cta svg path:last-child{fill:#ff0033}
.youtube-promo-cta b{font-size:.84rem}.youtube-promo-cta>span{font-size:1.1rem}
@media(max-width:820px){.youtube-promo-button{grid-template-columns:150px minmax(0,1fr);gap:14px;min-height:126px;padding:14px 16px}.youtube-promo-visual{height:94px}.youtube-screen-art{width:150px;height:88px;border-width:3px}.youtube-screen-art>b{width:46px;height:34px}.youtube-screen-art svg{width:24px;height:24px}.youtube-promo-cta{grid-column:2;width:max-content;min-height:38px;margin-top:-4px;padding:0 13px}.youtube-promo-copy strong{font-size:1.55rem}.youtube-promo-copy>span{font-size:.82rem}}
@media(max-width:560px){.youtube-promo{margin:0 10px 14px}.youtube-promo-button{grid-template-columns:94px minmax(0,1fr);gap:12px;min-height:108px;padding:11px 12px;border-radius:19px}.youtube-promo-visual{height:72px}.youtube-screen-art{width:92px;height:58px;border-width:2px;border-radius:11px}.youtube-screen-art>i,.youtube-screen-art:before,.youtube-screen-art:after{display:none}.youtube-screen-art>b{width:37px;height:28px;border-radius:8px}.youtube-screen-art svg{width:20px;height:20px}.youtube-promo-copy small{font-size:.58rem;letter-spacing:.08em}.youtube-promo-copy strong{font-size:1.18rem;margin-bottom:3px}.youtube-promo-copy>span{display:-webkit-box;overflow:hidden;font-size:.72rem;line-height:1.25;-webkit-box-orient:vertical;-webkit-line-clamp:2}.youtube-promo-cta{grid-column:1/-1;justify-content:center;width:100%;min-height:37px;margin:0;padding:0 12px}.youtube-promo-cta svg{width:21px;height:21px}}
