.youtube-wall{padding:4px 0 12px}.yt-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:26px}.yt-eyebrow{font-size:11px;letter-spacing:2px;color:var(--green);font-weight:700}.yt-heading h2{font-size:clamp(25px,3vw,36px);line-height:1.18;letter-spacing:-1px;margin:9px 0 12px}.yt-heading p{font-size:14px;color:var(--muted);margin:0;max-width:650px}.yt-channel{flex-shrink:0;font-size:13px;text-decoration:none;padding:10px 16px;border:1px solid var(--line);border-radius:24px}.yt-channel:hover{background:#eef5ef}.yt-tools{display:flex;align-items:center;gap:20px;margin-bottom:16px}.yt-search{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:12px;padding:0 14px;background:#f8f9f8;max-width:560px;flex:1}.yt-search svg{width:19px;height:19px;fill:none;stroke:var(--muted);stroke-width:1.7;flex-shrink:0}.yt-search input{border:0;background:transparent;width:100%;padding:12px 0;font-size:14px;min-width:0;color:var(--ink);outline:none}.yt-search:focus-within{outline:2px solid var(--green);outline-offset:2px}.yt-count{color:var(--muted);font-size:12px;white-space:nowrap;margin-left:auto}.yt-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 25px}.yt-filters button{border:1px solid var(--line);border-radius:24px;background:#fff;color:var(--muted);padding:7px 15px;font-size:12px}.yt-filters button:hover{border-color:#a7bbaa;color:var(--green)}.yt-filters button[aria-pressed=true]{background:var(--green);border-color:var(--green);color:#fff}.yt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 22px}.yt-card{min-width:0;border:1px solid #e8eae8;border-radius:14px;overflow:hidden;background:#fff;transition:border-color .15s,box-shadow .15s}.yt-card:hover{border-color:#b9cbbd;box-shadow:0 7px 20px #152b1910}.yt-poster{width:100%;display:block;position:relative;aspect-ratio:16/9;border:0;background:#111;padding:0;overflow:hidden}.yt-poster img{display:block;width:100%;height:100%;object-fit:contain}.yt-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:48px;height:34px;border-radius:10px;background:#c00e;box-shadow:0 2px 12px #0004;transition:background .15s}.yt-play svg{width:22px;height:22px;fill:white}.yt-poster:hover .yt-play{background:#f00}.yt-card-copy{padding:16px 16px 18px}.yt-card h3{font-size:14px;line-height:1.5;margin:0 0 13px;font-weight:600;min-height:42px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.yt-card a{font-size:11px;color:var(--muted);text-decoration:none}.yt-card a:hover{color:var(--green);text-decoration:underline}.yt-load{text-align:center;margin-top:30px}.yt-more,.yt-clear{border:1px solid #c6d7ca;background:#f4f8f4;border-radius:10px;color:var(--green);padding:11px 24px;font-size:13px}.yt-more span{margin-left:10px}.yt-empty{text-align:center;padding:40px 10px;color:var(--muted)}.yt-more[hidden],.yt-empty[hidden]{display:none}.yt-dialog{width:min(1060px,94vw);max-height:94vh;overflow:auto;padding:0;border:0;border-radius:18px;background:#fff;color:var(--ink);box-shadow:0 25px 100px #0005}.yt-dialog::backdrop{background:#101814b8;backdrop-filter:blur(5px)}.yt-dialog-head{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;color:var(--muted);font-size:12px;letter-spacing:1px}.yt-dialog-head button{border:0;background:#f3f4f3;width:36px;height:36px;line-height:1;border-radius:50%;font-size:25px;color:#333}.yt-player{aspect-ratio:16/9;background:#080808}.yt-player iframe{border:0;width:100%;height:100%;display:block}.yt-dialog-foot{padding:20px 24px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.yt-dialog-foot h2{font-size:18px;line-height:1.4;margin:0;max-width:75%}.yt-dialog-foot a{font-size:12px;white-space:nowrap}@media(max-width:1000px){.yt-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px}}@media(max-width:580px){.yt-grid{grid-template-columns:1fr}.yt-heading{align-items:flex-start;gap:10px}.yt-heading p{font-size:13px}.yt-channel{font-size:11px;padding:7px 10px}.yt-heading h2{font-size:25px}.yt-filters{gap:6px}.yt-filters button{padding:6px 11px}.yt-card h3{min-height:0;font-size:15px}.yt-dialog-foot{display:block}.yt-dialog-foot h2{max-width:none;font-size:16px;margin-bottom:12px}.yt-search input{font-size:13px}.yt-count{font-size:11px}.yt-tools{gap:12px}}
/* Compact video library: title and search share a row; five cards on desktop. */
.yt-heading{align-items:center;margin-bottom:18px;gap:30px}.yt-heading>div{flex:0 1 auto}.yt-heading h2{font-size:clamp(24px,2.3vw,32px);margin:7px 0 0;white-space:nowrap}.yt-heading .yt-search{flex:1;max-width:420px;margin-left:auto;min-width:240px}.yt-tools{justify-content:flex-end;margin:0 0 10px;gap:16px}.yt-count{margin-left:0}.yt-channel{font-size:11px;padding:4px 11px}.yt-filters{margin-bottom:18px}.yt-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px 14px}.yt-card{border-radius:10px}.yt-card-copy{padding:10px 11px 12px}.yt-card h3{font-size:12px;line-height:1.45;min-height:35px;margin-bottom:8px}.yt-card a{font-size:10px}.yt-play{width:36px;height:26px;border-radius:7px}.yt-play svg{width:18px;height:18px}@media(max-width:1100px){.yt-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.yt-heading{gap:20px}.yt-heading h2{white-space:normal}.yt-heading .yt-search{min-width:220px}}@media(max-width:850px){.yt-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.yt-heading{align-items:flex-start;flex-direction:column;gap:16px}.yt-heading .yt-search{margin-left:0;max-width:none;flex:none;width:100%}.yt-tools{margin-top:-3px}.yt-card h3{font-size:12px}}@media(max-width:580px){.yt-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}.yt-card-copy{padding:9px}.yt-card h3{font-size:11px;min-height:32px}.yt-card a{font-size:9px}.yt-heading h2{font-size:25px}.yt-filters{gap:6px}.yt-filters button{font-size:11px;padding:5px 9px}}@media(max-width:350px){.yt-grid{grid-template-columns:1fr}}

.yt-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.yt-toolbar .yt-filters{margin:0;flex:1;min-width:0}
.yt-toolbar .yt-tools{margin:0;flex:none;align-items:center}
@media(max-width:850px){.yt-toolbar{flex-wrap:wrap;gap:10px}.yt-toolbar .yt-filters{flex-basis:100%}.yt-toolbar .yt-tools{margin-left:auto}}
