.LibraryLoading-module__RoDH0W__grid{grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:1.5rem;width:100%;max-width:1200px;margin:0 auto;display:grid}.LibraryLoading-module__RoDH0W__card{background:var(--card-bg);border:1px solid var(--card-border);border-radius:18px;flex-direction:column;gap:.9rem;padding:1.25rem;display:flex;box-shadow:0 14px 40px #0f172a14}.LibraryLoading-module__RoDH0W__thumbnail,.LibraryLoading-module__RoDH0W__lineLong,.LibraryLoading-module__RoDH0W__lineShort,.LibraryLoading-module__RoDH0W__lineTiny{background:var(--bg-secondary);position:relative;overflow:hidden}.LibraryLoading-module__RoDH0W__thumbnail{border-radius:12px;width:100%;padding-top:56.25%}.LibraryLoading-module__RoDH0W__lineLong{border-radius:8px;height:16px}.LibraryLoading-module__RoDH0W__lineShort{border-radius:8px;width:65%;height:14px}.LibraryLoading-module__RoDH0W__lineTiny{border-radius:8px;width:40%;height:12px}.LibraryLoading-module__RoDH0W__thumbnail:after,.LibraryLoading-module__RoDH0W__lineLong:after,.LibraryLoading-module__RoDH0W__lineShort:after,.LibraryLoading-module__RoDH0W__lineTiny:after{content:"";background:linear-gradient(90deg,#fff0 0%,#ffffff8c 50%,#fff0 100%);animation:1.4s infinite LibraryLoading-module__RoDH0W__shimmer;position:absolute;inset:0;transform:translate(-100%)}@keyframes LibraryLoading-module__RoDH0W__shimmer{to{transform:translate(100%)}}@media (max-width:768px){.LibraryLoading-module__RoDH0W__grid{grid-template-columns:1fr}}
.VideoCard-module__yQLRhq__card{background:var(--card-bg);border:1px solid var(--card-border);border-radius:18px;transition:border-color .3s,box-shadow .3s;display:block;position:relative;overflow:hidden;box-shadow:0 18px 50px #0f172a1f}.VideoCard-module__yQLRhq__cardLink{height:100%;color:inherit;flex-direction:column;text-decoration:none;display:flex}.VideoCard-module__yQLRhq__card:focus-within{border-color:#0f172a66;box-shadow:0 26px 65px #0f172a33}@media (hover:hover){.VideoCard-module__yQLRhq__card:hover,.VideoCard-module__yQLRhq__card:focus-within{border-color:#0f172a66;box-shadow:0 26px 65px #0f172a33}}.VideoCard-module__yQLRhq__thumbnailWrapper{aspect-ratio:16/9;background:var(--bg-secondary);width:100%;position:relative;overflow:hidden}.VideoCard-module__yQLRhq__deleteButton{background:var(--button-primary-bg);color:#fff;width:36px;height:36px;box-shadow:none;opacity:0;cursor:pointer;z-index:2;border:2px solid #000;border-radius:12px;justify-content:center;align-items:center;padding:0;transition:transform .2s,box-shadow .2s;display:inline-flex;position:absolute;top:12px;left:12px;transform:translate(0,0)}.VideoCard-module__yQLRhq__card:hover .VideoCard-module__yQLRhq__deleteButton,.VideoCard-module__yQLRhq__card:focus-within .VideoCard-module__yQLRhq__deleteButton,.VideoCard-module__yQLRhq__deleteButton:focus-visible,.VideoCard-module__yQLRhq__deleteButton:active{opacity:1}.VideoCard-module__yQLRhq__deleteButton:hover,.VideoCard-module__yQLRhq__deleteButton:focus-visible{transform:translate(-4px,-4px);box-shadow:4px 4px #0006}.VideoCard-module__yQLRhq__deleteButton:focus-visible{outline-offset:2px;outline:2px solid #000}.VideoCard-module__yQLRhq__deleteButton span{font-size:1.1rem;line-height:1}@media (hover:none){.VideoCard-module__yQLRhq__deleteButton{opacity:1;box-shadow:none;transform:none}}.VideoCard-module__yQLRhq__editButton{background:var(--button-cta-bg);width:36px;height:36px;color:var(--button-cta-text);box-shadow:none;opacity:0;cursor:pointer;z-index:2;border:2px solid #000;border-radius:12px;justify-content:center;align-items:center;padding:0;font-size:1.1rem;line-height:1;transition:transform .2s,box-shadow .2s,opacity .15s;display:inline-flex;position:absolute;top:12px;right:12px;transform:translate(0,0)}.VideoCard-module__yQLRhq__card:hover .VideoCard-module__yQLRhq__editButton,.VideoCard-module__yQLRhq__card:focus-within .VideoCard-module__yQLRhq__editButton,.VideoCard-module__yQLRhq__editButton:focus-visible,.VideoCard-module__yQLRhq__editButton:active{opacity:1}.VideoCard-module__yQLRhq__editButton:hover,.VideoCard-module__yQLRhq__editButton:focus-visible{transform:translate(4px,-4px);box-shadow:-4px 4px #0006}.VideoCard-module__yQLRhq__editButton:focus-visible{outline-offset:2px;outline:2px solid #000}@media (hover:none){.VideoCard-module__yQLRhq__editButton{opacity:1;box-shadow:none;transform:none}}.VideoCard-module__yQLRhq__titleEditContainer{flex-direction:column;gap:.5rem;display:flex}.VideoCard-module__yQLRhq__titleInput{width:100%;color:var(--text-primary);background-color:var(--input-bg);border:2px solid var(--border-color);box-sizing:border-box;border-radius:8px;padding:.5rem .75rem;font-size:1rem;font-weight:600;line-height:1.4}.VideoCard-module__yQLRhq__titleInput:focus{border-color:var(--accent-color);outline:none}.VideoCard-module__yQLRhq__titleInput:disabled{opacity:.6;cursor:not-allowed}.VideoCard-module__yQLRhq__titleInput.VideoCard-module__yQLRhq__rtl{text-align:right;direction:rtl}.VideoCard-module__yQLRhq__titleInput.VideoCard-module__yQLRhq__ltr{text-align:left;direction:ltr}.VideoCard-module__yQLRhq__editActions{justify-content:flex-end;gap:.5rem;display:flex}.VideoCard-module__yQLRhq__saveButton{color:var(--button-cta-text);background-color:var(--button-cta-bg);border:2px solid var(--border-color);cursor:pointer;border-radius:6px;padding:.4rem .8rem;font-size:.85rem;font-weight:600;transition:transform .1s}.VideoCard-module__yQLRhq__saveButton:hover:not(:disabled){transform:translateY(-1px)}.VideoCard-module__yQLRhq__saveButton:disabled{opacity:.6;cursor:not-allowed}.VideoCard-module__yQLRhq__cancelButton{color:var(--text-primary);background-color:var(--card-bg);border:2px solid var(--border-color);cursor:pointer;border-radius:6px;padding:.4rem .8rem;font-size:.85rem;font-weight:600;transition:transform .1s}.VideoCard-module__yQLRhq__cancelButton:hover:not(:disabled){transform:translateY(-1px)}.VideoCard-module__yQLRhq__cancelButton:disabled{opacity:.6;cursor:not-allowed}.VideoCard-module__yQLRhq__saveError{color:var(--error-text);background-color:var(--error-bg);border:1px solid var(--error-border);border-radius:4px;padding:.4rem .6rem;font-size:.8rem}.VideoCard-module__yQLRhq__thumbnail{object-fit:cover;width:100%;height:100%;display:block}.VideoCard-module__yQLRhq__durationBadge{color:#fff;letter-spacing:.02em;background:#000000b8;border-radius:999px;padding:.25rem .6rem;font-size:.85rem;position:absolute;bottom:12px;right:12px}.VideoCard-module__yQLRhq__thumbnailOverlay{aspect-ratio:16/9;pointer-events:none;z-index:2;position:absolute;top:0;left:0;right:0}.VideoCard-module__yQLRhq__favoriteButton{width:36px;height:36px;color:var(--favorite-star-outline);cursor:pointer;pointer-events:auto;background:#0000008c;border:none;border-radius:999px;justify-content:center;align-items:center;padding:0;transition:transform .15s,background .15s;display:inline-flex;position:absolute;bottom:12px;left:10px}.VideoCard-module__yQLRhq__favoriteButton svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linejoin:round;width:22px;height:22px}.VideoCard-module__yQLRhq__favoriteButtonActive{color:var(--favorite-star-fill)}.VideoCard-module__yQLRhq__favoriteButtonActive svg{fill:var(--favorite-star-fill)}.VideoCard-module__yQLRhq__favoriteButton:focus-visible{outline:3px solid var(--favorite-star-fill);outline-offset:2px}.VideoCard-module__yQLRhq__favoriteButton:disabled{cursor:progress;opacity:.8}@media (hover:hover){.VideoCard-module__yQLRhq__favoriteButton:hover{background:#000000b3;transform:scale(1.08)}}@media (hover:none){.VideoCard-module__yQLRhq__favoriteButton{width:44px;height:44px}}.VideoCard-module__yQLRhq__durationBadgeRaised{bottom:16px}.VideoCard-module__yQLRhq__watchProgressTrack{background:var(--watch-progress-track);height:4px;position:absolute;bottom:0;left:0;right:0}.VideoCard-module__yQLRhq__watchProgressFill{background:var(--watch-progress-fill);height:100%}.VideoCard-module__yQLRhq__content{flex-direction:column;flex:1;gap:1rem;padding:1.25rem 1.4rem 1.4rem;display:flex}.VideoCard-module__yQLRhq__title{color:var(--text-primary);line-clamp:2;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:3rem;margin:0;font-size:1.1rem;font-weight:700;line-height:1.35;transition:max-height .3s;display:-webkit-box;overflow:hidden}.VideoCard-module__yQLRhq__titleExpanded{line-clamp:unset;-webkit-line-clamp:unset;max-height:20rem;display:block;overflow:visible}@media (hover:hover){.VideoCard-module__yQLRhq__card:hover .VideoCard-module__yQLRhq__title,.VideoCard-module__yQLRhq__card:focus-within .VideoCard-module__yQLRhq__title{line-clamp:unset;-webkit-line-clamp:unset;max-height:20rem;display:block;overflow:visible}}@media (prefers-reduced-motion:reduce){.VideoCard-module__yQLRhq__title{transition:none}}.VideoCard-module__yQLRhq__channelName{color:var(--text-secondary);margin:0 0 0;font-size:.9rem;font-weight:400;line-height:1.4}.VideoCard-module__yQLRhq__categories{flex-wrap:wrap;gap:.5rem;margin-top:0;display:flex}.VideoCard-module__yQLRhq__categoryBadge{background:var(--bg-secondary);color:var(--text-primary);border:1px solid var(--card-border);text-transform:capitalize;border-radius:999px;padding:.25rem .65rem;font-size:.7rem;font-weight:500;line-height:1.2;display:inline-block}.VideoCard-module__yQLRhq__metadata{flex-direction:column;gap:.65rem;margin:0;padding:0;display:flex}.VideoCard-module__yQLRhq__metaRow{justify-content:space-between;gap:.5rem;display:flex}.VideoCard-module__yQLRhq__metaLabel{color:var(--text-secondary);align-items:center;gap:.35rem;margin:0;font-size:.82rem;font-weight:600;display:flex}.VideoCard-module__yQLRhq__metaValue{color:var(--text-primary);text-align:right;margin:0;font-size:.9rem}@media (max-width:768px){.VideoCard-module__yQLRhq__card{border-radius:16px}.VideoCard-module__yQLRhq__content{padding:1rem 1.1rem 1.25rem}.VideoCard-module__yQLRhq__metaRow{flex-wrap:wrap}}.VideoCard-module__yQLRhq__vocabularyBadges{margin:.25rem 0 .375rem}
